Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

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*user_id

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

Request Body

application/json
  1. body
pagination?|

List limitations and ordering.

filters?array<>

Define the criteria to query for.

Response Body

Success

application/json
  1. response
pagination?

Pagination of the users metadata results.

metadata?array<>

The user metadata requested.

Example Request
curl -X POST 'https://example.com/v2/users/string/metadata/search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "pagination": {    "totalResult": 0,    "appliedLimit": 0  },  "metadata": [    {      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "key": "string",      "value": "string"    }  ]}

Was this page helpful?