ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveMachineSecret

Delete Secret of Machine User

Deprecated: use user service v2 RemoveSecret instead.

Delete a secret of a machine user/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

application/json

curl -X DELETE "https://loading/users/string/secret"
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?