ZITADEL Docs
APIsCore ResourcesV2User

RemoveSecret

Remove a Users Secret

Remove the current client ID and client secret from a machine user.

Required permission:

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

Path Parameters

user_id*string

The users resource ID.

Response Body

application/json

application/json

curl -X DELETE "https://loading/v2/users/string/secret"
{
  "deletionDate": "1s"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?