Deactivate User
Deprecated: use user service v2 DeactivateUser instead.
The state of the user will be changed to 'deactivated'. The user will not be able to log in anymore. The endpoint returns an error if the user is already in the state 'deactivated'. Use deactivate user when the user should not be able to use the account anymore, but you still need access to the user data.
curl -X POST "https://loading/users/string/_deactivate"{
"details": {
"sequence": 0,
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
}
}Was this page helpful?
Deactivate Project Grant
Deactivate Project Grant: Deprecated: use [DeactivateProjectGrant](/reference/api/project/zitadel.project.v2.ProjectService.DeactivateProjectGrant) instead. Set the state of the project grant to deactivated. The grant has t...
Deactivate User
Deactivate User: Deprecated: use [user service v2 ReactivateUser](/reference/api/user/zitadel.user.v2.UserService.ReactivateUser) instead. Reactivate a user with the state 'deactivated'. The user will be able to lo...