Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Delete User Metadata

Delete metadata objects from an user with a specific key.

Required permission:

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

Path Parameters

user_id*user_id

ID of the user which metadata is to be deleted is stored on.

Query Parameters

keys?array<string>

The keys for the user metadata to be deleted.

Response Body

Success

application/json
  1. response
deletionDate?deletion_date

The timestamp of the deletion of the user metadata.

Formatdate-time
Example Request
curl -X DELETE 'https://example.com/v2/users/string/metadata'
Example Response200
{  "deletionDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?