Skip to main content

UpdateApiKeyPermissionsInput

Input for the updateApiKeyPermissions mutation. Exactly one of parkPermissions and allParksAuthRoleTemplates must be given.

input UpdateApiKeyPermissionsInput {
allParksAuthRoleTemplates: [AuthRoleTemplateID!]
id: ApiKeyID!
parkPermissions: [ApiKeyParkPermissionInput!]
}

Fields​

UpdateApiKeyPermissionsInput.allParksAuthRoleTemplates ● [AuthRoleTemplateID!] list scalar​

Grants the given role templates in every park of the tenant, including parks created later.

UpdateApiKeyPermissionsInput.id ● ApiKeyID! non-null scalar​

ID of the API key to change.

UpdateApiKeyPermissionsInput.parkPermissions ● [ApiKeyParkPermissionInput!] list input​

The permissions the API key gets in individual parks. Replaces the previous ones.

Member Of​

updateApiKeyPermissions mutation