ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Delete Secret of Service Account

Deprecated: use user service v2 RemoveSecret instead.

Delete a secret of a service account. The user will not be able to authenticate with the secret afterward.

DELETE
/users/{user_id}/secret

Path Parameters

user_id*string

Response Body

application/json

curl -X DELETE "https://loading/users/string/secret"
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?