ZITADEL Docs
APIsCore ResourcesV2User

ListUserMetadata

List User Metadata

List metadata of an user filtered by query.

Required permission:

  • user.read
POST
/v2/users/{user_id}/metadata/search

Path Parameters

user_id*string

ID of the user under which the metadata is to be listed.

Request Body

application/json

pagination?

List limitations and ordering.

filters?

Define the criteria to query for.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/v2/users/string/metadata/search" \  -H "Content-Type: application/json" \  -d '{}'
{
  "pagination": {
    "totalResult": 0,
    "appliedLimit": 0
  },
  "metadata": [
    {
      "creationDate": "1s",
      "changeDate": "1s",
      "key": "string",
      "value": "string"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?