Skip to main content

Inputs: Teams & users

GraphQL input types for teams, users, organizations, extensions, webhooks, transformation templates, preview keys, personal access tokens, and temp file upload in the Amplience GraphQL Management API.

Teams & users
Link copied!

CreateTeamInput
Link copied!

FieldTypeDefaultDescription
organizationIdID!The ID of the organization that owns the new team
labelString!A short human readable description of the team
isOnboardingBooleanAutomatically add new users to this team on their first login if no specific team is assigned via an invite.

UpdateTeamInput
Link copied!

FieldTypeDefaultDescription
idID!The ID of the team to update
labelStringA short human readable description of the team
isOnboardingBooleanAutomatically add new users to this team on their first login if no specific team is assigned via an invite.

DeleteTeamInput
Link copied!

FieldTypeDefaultDescription
idID!The ID of the team to delete

AddTeamMembersInput
Link copied!

FieldTypeDefaultDescription
teamIdID!The ID of the team to add users to
userIds[ID!]!A list of users to add to the team

RemoveTeamMembersInput
Link copied!

FieldTypeDefaultDescription
teamIdID!The ID of the team to remove users from
userIds[ID!]!A list of users to remove from the team

InviteUserToOrganizationInput
Link copied!

FieldTypeDefaultDescription
organizationIdID!The ID of the organization to invite the user to
inviteeString!Email of the invitee
assignedOrganizationRoles[OrganizationRolesInput!]Organization roles to be assigned to the user
assignedCMSHubRoles[CMSHubRolesInput!]CMS Hub roles to be assigned to the user
assignedCMSRepositoryRoles[CMSRepositoryRolesInput!]CMS Repository roles to be assigned to the user
teams[ID!]Teams to be assigned to the user

UpdateOrganizationInvitationInput
Link copied!

FieldTypeDefaultDescription
invitationIdID!The ID of the organization invitation to update
assignedOrganizationRoles[OrganizationRolesInput!]User's organization roles
assignedCMSHubRoles[CMSHubRolesInput!]User's CMS Hub roles
assignedCMSRepositoryRoles[CMSRepositoryRolesInput!]User's CMS Repository roles
teams[ID!]Teams to be assigned to the user

RevokeOrganizationInvitationInput
Link copied!

FieldTypeDefaultDescription
invitationIdID!The ID of the invitation

RemoveUserFromOrganizationInput
Link copied!

FieldTypeDefaultDescription
organizationIdID!The ID of the user to assign the role to
userIdID!id of the user to uninvite
removeOnlySSOIdentityBooleanIn a situation where there is a basic identity (username/password) and also a SSO identity we cannot decide which to remove.this boolean gives you the ability to target the SSO identity explicitly. Otherwise the operation fails as we cannot decide which identity to remove

AssignOrganizationRoleToUserInput
Link copied!

FieldTypeDefaultDescription
userIdID!The ID of the user to assign the role to
organizationIdID!The ID of the org for the role that is to be assigned
roleOrganizationRole!The role to assign to this user

AssignOrganizationRoleToTeamInput
Link copied!

FieldTypeDefaultDescription
teamIdID!The ID of the team to assign the role to
organizationIdID!The ID of the org for the role that is to be assigned
roleOrganizationRole!The role to assign to this team

AssignCMSHubRoleToTeamInput
Link copied!

FieldTypeDefaultDescription
teamIdID!The ID of the team to assign the role to
cmsHubIdID!The ID of the repository for the role that is to be assigned
roleCMSHubRole!The role to assign to this team

AssignCMSRepositoryRoleToTeamInput
Link copied!

FieldTypeDefaultDescription
teamIdID!The ID of the team to assign the role to
cmsRepositoryIdID!The ID of the repository for the role that is to be assigned
roleCMSRepositoryRole!The role to assign to this team

AssignHubRoleToUserInput
Link copied!

FieldTypeDefaultDescription
userIdID!The ID of the user to assign the role to
cmsHubIdID!The ID of the repository for the role that is to be assigned
roleCMSHubRole!The role to assign to this user

AssignRepositoryRoleToUserInput
Link copied!

FieldTypeDefaultDescription
userIdID!The ID of the user to assign the role to
cmsRepositoryIdID!The ID of the repository for the role that is to be assigned
roleCMSRepositoryRole!The role to assign to this user

OrganizationRolesInput
Link copied!

FieldTypeDefaultDescription
organizationIdID!ID of the Organization that these role assignments correspond to
roles[OrganizationRole!]!List of organization roles assigned to this user

CMSHubRolesInput
Link copied!

FieldTypeDefaultDescription
cmsHubIdID!ID of the Hub that these role assignments correspond to
roles[HubRole!]!List of repository roles assigned to this user

CMSRepositoryRolesInput
Link copied!

FieldTypeDefaultDescription
cmsRepositoryIdID!ID of the Repository that these role assignments correspond to
roles[RepositoryRole!]!List of repository roles assigned to this user

CreditTransactionReportFilterInput
Link copied!

FieldTypeDefaultDescription
dayString
formatReportFormat
monthString
yearString!

Personal access tokens
Link copied!

CreatePersonalAccessTokenInput
Link copied!

FieldTypeDefaultDescription
nameString!
organizationIdID!

UpdatePersonalAccessTokenInput
Link copied!

FieldTypeDefaultDescription
idID!

DeletePersonalAccessTokenInput
Link copied!

FieldTypeDefaultDescription
idID!

Extensions
Link copied!

CreateExtensionInput
Link copied!

FieldTypeDefaultDescription
labelString!
descriptionString!
urlString!
iconString!
cmsHubIdID!

UpdateExtensionInput
Link copied!

FieldTypeDefaultDescription
idID!
labelString
descriptionString
urlString
iconString
visibilityExtensionVisibility
quarantinedBooleanThis can only be set by Amplience to prevent an extension from executing

DeleteExtensionInput
Link copied!

FieldTypeDefaultDescription
idID!

CreateExtensionReleaseInput
Link copied!

FieldTypeDefaultDescription
extensionIdID!
labelString!
releaseNotesString
draftBooleantrue
sourceFiles[ExtensionReleaseSourceFileInput!]!
latestBooleanfalse

UpdateExtensionReleaseInput
Link copied!

FieldTypeDefaultDescription
idID!
labelString
releaseNotesString
draftBoolean
deprecatedBoolean
sourceFiles[ExtensionReleaseSourceFileInput!]
latestBoolean

DeleteExtensionReleaseInput
Link copied!

FieldTypeDefaultDescription
idID!

ExtensionReleaseSourceFileInput
Link copied!

FieldTypeDefaultDescription
pathString!
contentString!

ExtensionFilterInput
Link copied!

FieldTypeDefaultDescription
keywordString
internalBoolean

ExtensionReleaseFilterInput
Link copied!

FieldTypeDefaultDescription
draftBoolean

CreateExtensionInstanceInput
Link copied!

FieldTypeDefaultDescription
extensionIdID!
labelString!
descriptionString
cmsHubIdID!
extensionReleaseIdID
envJSON!

UpdateExtensionInstanceInput
Link copied!

FieldTypeDefaultDescription
idID!
labelString
descriptionString
extensionReleaseIdID
envJSON

DeleteExtensionInstanceInput
Link copied!

FieldTypeDefaultDescription
idID!

Transformation templates
Link copied!

CreateTransformationTemplateInput
Link copied!

FieldTypeDefaultDescription
mediaHubIdID!The ID of the media hub that owns the new tranformation template
nameString!The name of the new transformation template, used when referencing it from Dynamic Media. Transformation template names must be unique and cannot be changed
labelString!A short human readable description of the transformation template
templateString!The URL query parameters that this transformation template expands to, as dcoumented in the Dynamic Media API reference

UpdateTransformationTemplateInput
Link copied!

FieldTypeDefaultDescription
idID!The ID of the transformation template to update
labelString!A short human readable description of the transformation template
templateString!The URL query parameters that this transformation template expands to, as dcoumented in the Dynamic Media API reference

PublishTransformationTemplateInput
Link copied!

FieldTypeDefaultDescription
idID!The ID of the transformation template to publish

DeleteTransformationTemplateInput
Link copied!

FieldTypeDefaultDescription
idID!The ID of the transformation template to delete

Webhooks
Link copied!

CreateWebhookListenerInput
Link copied!

FieldTypeDefaultDescription
labelString!
schemaString!
securityCreateWebhookListenerSecurityInput!
cmsHubIdID!

UpdateWebhookListenerInput
Link copied!

FieldTypeDefaultDescription
idID!
securityUpdateWebhookListenerSecurityInput
labelString
schemaString

DeleteWebhookListenerInput
Link copied!

FieldTypeDefaultDescription
idID!

CreateWebhookListenerSecurityHMACInput
Link copied!

FieldTypeDefaultDescription
secretString!
headerString!
algorithmWebhookListenerSecurityHMACAlgorithm!
encodingWebhookListenerSecurityHMACEncoding!
digestPrefixString

CreateWebhookListenerSecurityInput
Link copied!

FieldTypeDefaultDescription
hmacCreateWebhookListenerSecurityHMACInput
noneWebhookListenerSecurityNoneInput

UpdateWebhookListenerSecurityHMACInput
Link copied!

FieldTypeDefaultDescription
secretString
headerString
algorithmWebhookListenerSecurityHMACAlgorithm
encodingWebhookListenerSecurityHMACEncoding
digestPrefixString

UpdateWebhookListenerSecurityInput
Link copied!

FieldTypeDefaultDescription
hmacUpdateWebhookListenerSecurityHMACInput
noneWebhookListenerSecurityNoneInput

WebhookListenerSecurityNoneInput
Link copied!

FieldTypeDefaultDescription
dangerouslyAllowUnauthenticatedBoolean!

Preview keys
Link copied!

CreatePreviewKeyInput
Link copied!

FieldTypeDefaultDescription
organizationIdID!
virtualStagingEnvironmentIds[ID]!
labelString!
expiryDateDateTime

UpdatePreviewKeyInput
Link copied!

FieldTypeDefaultDescription
idID!
enabledBoolean

DeletePreviewKeyInput
Link copied!

FieldTypeDefaultDescription
idString!

Temp file upload
Link copied!

CreateTempFileMultipartUploadUrlInput
Link copied!

FieldTypeDefaultDescription
filesizeFloat!