Archive user
POST/iam/users/:id/archive
JSON-RPC
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:
- Report Queries owned by the user will be deleted.
 - 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