beta.admin.users
Deactivate User
Changed onDeactivate a user whose email address is on one of the Organization's verified domains: remove them from every organization they belong to, which revokes their API keys, and end their sessions.
post/v1/admin/users/{user_id}/deactivate
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring uuid required
User ID.
Response
OK
Example response
{
"message": "User deactivated successfully"
}Changes
- info
endpoint added
- info