Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Remove a Users Secret

Remove the current client ID and client secret from a service account.

Required permission:

  • user.write
DELETE
/v2/users/{user_id}/secret

Path Parameters

user_id*user_id

Response Body

Success

application/json
  1. response
deletionDate?deletion_date

The timestamp of the secret deletion.

Formatdate-time
Example Request
curl -X DELETE 'https://example.com/v2/users/string/secret'
Example Response200
{  "deletionDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?