Disable or enable super admin
Disables (disabled) or enables (active) the account of a super admin. A request for the state that the account has changes nothing and gets the same answer. The API refuses to disable the last active super admin of an organisation, and the only platform admin that is not disabled. An active super admin logged in at least once and is not disabled. The API checks each organisation where the account is a super admin.
Authorizations
AuthorizationstringheaderrequiredAn access token:
Bearer <access-token>.
Path parameters
adminId stringrequiredThe ID of a super admin of an organisation, from List super admins.
At most 256 characters.
Example:
"6731f1d8a1b2c3d4e5f6078a"
Body
statusenum<string>requireddisableddisables the account;activeenables it.Available options:
disabled,activeExample:
"disabled"
Response
The account after the change.
superAdmin objectAn admin account as a platform admin sees it.