Skip to main content

SetPermissionInput

Input to the setPermission mutation.

input SetPermissionInput {
id: ID
permission: String
displayName: String
hash: Hash
}

Fields

SetPermissionInput.id ● ID scalar common

The ID of an existing permission to update. If provided, a permission with the specified ID must exist.

SetPermissionInput.permission ● String scalar common

The unique permission value.

SetPermissionInput.displayName ● String scalar common

Friendly name for the permission.

SetPermissionInput.hash ● Hash scalar common

Optional value of the hash value previously read from the directory.

If a hash value is specified and the permission being mutated already exists, the update will be rejected unless the hash value matches the existing permissions's hash value. This can be used to ensure that the permission being mutated has not been modified since it was read from the directory.

Member of

setPermission mutation