# Delete user
This endpoint deletes a given user.
It is not possible to delete a user if there is a User Secret (API key) associated with the given user. In order to delete a user, you will have to delete the User Secret (APi key) of the user first (see delete_user_secret).
The deletion of a user is permanent and cannot be undone. After deleting a user, you will not be able to retrieve data associated with the user.
In order for a user to perform the "delete_user" operation, the "delete_user" permission must be included in the list of allowed actions in the statement of the user's role.
|name||string||Name of the user. It must match the regular expression(opens new window) |
|description||dictionary||Attributes of the user in form of key-value pairs:|
- key: It must match the regular expression(opens new window)
- value: JSON compliant value.
For more details consult the description field section.
|created_ts||timestamp||Time at which the user was created. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).|
|updated_ts||timestamp||Time at which the user was last updated. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).|
User Activity Log attribute. It holds the name(s) of the Timeseries table(s) where the User Activity Log is to be stored, and (optionally) the
|dimensions||dictionary||body|| Key-value pairs:|
- key: name of the dimension under which the User Activity Log entry is to be stored.
- value: Template for the value of the dimension.
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.