Suspend a user from all accounts
PUT/v1/user-management/:id/suspend/recursive
Suspends a user from the main account and all associated sub accounts. Must be run with an API token for the main account. The user will not be suspended from accounts for which there are no other users. In other words, any accounts where the user is the last user will be skipped. The success message will list accounts that were skipped. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
id int32required
ID of the user
Example: 11300
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Finished suspending user 11300 from accounts."
}
Loading...