Archive user
POST/iam/users/:id/archive
iam.users.archive
Since user may own some other entities within a system, it is possible to define a new owner for the entities owned by the user to be archived.
If the new owner is specified, the ownership of the following entities will be transferred: _ Clients _ Rate tables * Stored queries
If the new owner is not specified: 1. Report Queries owned by the user will be deleted. 2. User should not own any active clients or rate tables.
In both cases all temporary entities (like one-time stored report queries) will be fully removed.
In addition, the user will be removed as a recipient of: _ Stored report queries to email _ Stored report queries monitoring * Low balance monitoring
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 500
Numbers of the object ownership transfers per each entity type.
The request contains invalid arguments or is malformed
Access is not authorized
Requested object was not found
A logical error occurred, making the request unprocessable
An unexpected error occurred