ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveMachineKey

Delete Key for machine user

Deprecated: use user service v2 RemoveKey instead.

Delete a specific key from a user. The user will not be able to authenticate with that key afterward.

DELETE
/users/{user_id}/keys/{key_id}

Path Parameters

user_id*string
key_id*string

Response Body

application/json

application/json

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

Was this page helpful?