ZITADEL Docs
APIsCore ResourcesV2User

Remove a Key

Remove a machine users key by the given key ID and an optionally given user ID.

Required permission:

  • user.write
DELETE
/v2/users/{user_id}/keys/{key_id}

Path Parameters

user_id*string
key_id*string

The keys ID.

Response Body

application/json

curl -X DELETE "https://loading/v2/users/string/keys/string"
{
  "deletionDate": "2023-01-15T01:30:15.01Z"
}

Was this page helpful?