# Delete User Secret

This endpoint deletes a User Secret of a given user.

Method Path Operation*
DELETE /users/{user}/secrets delete_user_secret

*

In order for a user to perform the "delete_user_secret" operation, the permission "delete_user_secret" must be included in the list of allowed actions in the statement of the user's role.

# Request

Parameter Type In Description
{user}
required
string path User UUID of the User for whom the User Secret was created.

In our example, we want to delete the User Secret of the user with the user UUID "333b4bf7-43b6-4df1-927a-9ddbd7336144".

# Response

Attribute Type Description
fingerprint string 4 last characters of the User Secret.
account string Account UUID.
user string User UUID of the user for whom the User Secret was created.
validity_ts timestamp Time at which the User Secret expires. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window). If the value is null, the User Secret does not expire.
created_ts timestamp Time at which the User Secret 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 Secret was last updated. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).

# Status codes

Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.

Was this article helpful?