Qualio Docs

API Documentation from the Qualio Team

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.

Input fields

deleteUserId (ID!)

Delete user id

reassignUserId (ID!)

All user actions will be reassigned to given user (user id)

suppressNotifications (Boolean)

Determines if email notifications will be sent on action

Return fields

errors ([AnyMutationError])

Mutation errors. Provides information about missing content or privilages

status (String)

Delete status