DeleteUser
Allows deleting user from the company. Required permission: userManagement (for API user, can be checked using me query)
Example usage:
mutation deleteUser {
deleteUser(deleteUserId:"DID",reassignUserId:"RID") {
status
errors {
__typename
}
}
}
where
â« DID is id (can be obtained by users query) of a user which will be deleted
â« RID is id (can be obtained by users query) of a user to whom all remaining actions (reviews, approvals) and items (documents and tasks) for a deleted user will be reassigned.
Returns status field. Only possible value is "Deleted".
Note: this query may take time for a user which owns a significant number of documents/task or assigned actions.
Fields
errors (
[AnyMutationError]
)
Mutation errors. Provides information about missing content or privilages
status (
String
)
Delete status