Mutation
mutation DeactivateUser($input: DeactivateUserInput!) {
deactivateUser(input: $input) {
user {
email
uid
fullName
accountType
status
inviteStatus
}
}
}Variables
{
"input": {
"uid": "string"
}
}Response
{
"data": {
"deactivateUser": {
"user": {
"email": "string",
"uid": "string",
"fullName": "string",
"accountType": "ADMIN",
"status": "ACTIVE",
"inviteStatus": "PENDING"
}
}
}
}deactivateUser
Deactivates a member of a workspace: they can no longer sign in to it, and reactivateUser brings them back with the same role. It acts on the workspace the API key targets: a workspace key’s own, or the one in the X-Paradime-Workspace header. Needs users:admin:write.
MUTATION
deactivateUser(input: DeactivateUserInput!): DeactivateUserPayload!Arguments
input
required
The user to deactivate.
Returns
user
User!
The user, deactivated with the role reactivateUser restores.
Mutation
mutation DeactivateUser($input: DeactivateUserInput!) {
deactivateUser(input: $input) {
user {
email
uid
fullName
accountType
status
inviteStatus
}
}
}Variables
{
"input": {
"uid": "string"
}
}Response
{
"data": {
"deactivateUser": {
"user": {
"email": "string",
"uid": "string",
"fullName": "string",
"accountType": "ADMIN",
"status": "ACTIVE",
"inviteStatus": "PENDING"
}
}
}
}