ZITADEL Docs
APIsCore ResourcesV1Organization Objects

BulkRemoveUserMetadata

Delete User Metadata By Key

Deprecated: use DeleteUserMetadata instead.

Remove a list of metadata objects from a user with a list of keys.

DELETE
/users/{id}/metadata/_bulk

Path Parameters

id*string

Request Body

application/json

keys*keys
[key: string]?never

Response Body

application/json

application/json

curl -X DELETE "https://loading/users/string/metadata/_bulk" \  -H "Content-Type: application/json" \  -d '{    "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?