Unified users (GraphQL)

Related queries and mutations in Catalog and lineage. Each has its own section.

Queries

getCustomUsers (query)

getCustomUsers is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Get all unified users

Arguments

ArgumentTypeDescription
customUserIdString
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

CustomUserConnection

Example

query GetCustomUsers {
  getCustomUsers {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

Related types

CustomUserConnection

getUnifiedUserAssignments (query)

getUnifiedUserAssignments is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Get all unified user assignments

Arguments

ArgumentTypeDescription
unifiedUserIdString
objectMconString
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

UnifiedUserAssignmentConnection

Example

query GetUnifiedUserAssignments {
  getUnifiedUserAssignments {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

Related types

UnifiedUserAssignmentConnection

getUnifiedUsers (query)

getUnifiedUsers is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Get all unified users

Arguments

ArgumentTypeDescription
uuidString
displayNameSearchString
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

UnifiedUserConnection

Example

query GetUnifiedUsers {
  getUnifiedUsers {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

Related types

UnifiedUserConnection

Mutations

createCustomUser (mutation)

createCustomUser is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Create a CustomUser

Arguments

ArgumentTypeDescription
emailString!Email
firstNameStringFirst name
lastNameStringLast name

Returns

CreateCustomUser

Example

mutation CreateCustomUser($email: String!) {
  createCustomUser(email: $email) {
    customUser {
      uuid
      accountId
      email
      firstName
      lastName
      createdTime
      lastUpdateTime
      isDeleted
      id
    }
  }
}

Types used only by createCustomUser

CreateCustomUser

Object type. Create a CustomUser

FieldTypeDescription
customUserCustomUser

Related types

CustomUser

createUnifiedUserAssignment (mutation)

createUnifiedUserAssignment is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Associate a UnifiedUser with a CatalogObject

Arguments

ArgumentTypeDescription
objectMconString!MCON of catalog object
relationshipTypeRelationshipType!Type of relationship
unifiedUserIdString!UUID of UnifiedUser

Returns

CreateUnifiedUserAssignment

Example

mutation CreateUnifiedUserAssignment($objectMcon: String!, $relationshipType: RelationshipType!, $unifiedUserId: String!) {
  createUnifiedUserAssignment(objectMcon: $objectMcon, relationshipType: $relationshipType, unifiedUserId: $unifiedUserId) {
    unifiedUserAssignment {
      id
      accountId
      relationshipType
      createdTime
      isDeleted
      objectMcon
    }
  }
}

Types used only by createUnifiedUserAssignment

CreateUnifiedUserAssignment

Object type. Associate a UnifiedUser with a CatalogObject

FieldTypeDescription
unifiedUserAssignmentUnifiedUserAssignment
RelationshipType

Enum type.

ValueDescription
OWNER
EXPERT

Related types

UnifiedUserAssignment

deleteUnifiedUserAssignment (mutation)

deleteUnifiedUserAssignment is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Associate a UnifiedUser with a CatalogObject

Arguments

ArgumentTypeDescription
objectMconString!MCON of catalog object
unifiedUserIdString!UUID of UnifiedUser

Returns

DeleteUnifiedUserAssignment

Example

mutation DeleteUnifiedUserAssignment($objectMcon: String!, $unifiedUserId: String!) {
  deleteUnifiedUserAssignment(objectMcon: $objectMcon, unifiedUserId: $unifiedUserId) {
    success
  }
}

Types used only by deleteUnifiedUserAssignment

DeleteUnifiedUserAssignment

Object type. Associate a UnifiedUser with a CatalogObject

FieldTypeDescription
successBoolean

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.