Skip to Content
ZITADEL Docs
APIsCore ResourcesV2ZITADEL Internal Permissions

List Administrators

ListAdministrators returns all administrators and their roles matching the request and the caller's permissions to retrieve.

Required permissions depend on the resource type:

  • "iam.member.read" for instance administrators
  • "org.member.read" for organization administrators
  • "project.member.read" for project administrators
  • "project.grant.member.read" for project grant administrators
  • no permissions required for listing own administrator roles
POST
/zitadel.internal_permission.v2.InternalPermissionService/ListAdministrators

Header Parameters

Connect-Protocol-Version*1

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?Connect-Timeout-Ms

Define the timeout, in ms

Request Body

application/json
  1. body
pagination?|

Paginate through the results using a limit, offset and sorting.

sortingColumn?sorting_column

The field the result is sorted by. The default is the creation date. Beware that if you change this, your result pagination might be inconsistent.

Value in"ADMINISTRATOR_FIELD_NAME_UNSPECIFIED""ADMINISTRATOR_FIELD_NAME_USER_ID""ADMINISTRATOR_FIELD_NAME_CREATION_DATE""ADMINISTRATOR_FIELD_NAME_CHANGE_DATE"
filters?array<||||||||||>

Filter the administrator roles to be returned.

Response Body

Success

application/json
  1. response
pagination?

Pagination contains the current sequence and the total result count.

administrators?array<|||>

Administrators contains the list of administrators matching the request.

Example Request
curl -X POST 'https://example.com/zitadel.internal_permission.v2.InternalPermissionService/ListAdministrators' \  -H 'Connect-Protocol-Version: 1' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "pagination": {    "totalResult": 0,    "appliedLimit": 0  },  "administrators": [    {      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "user": {        "id": "string",        "preferredLoginName": "string",        "displayName": "string",        "organizationId": "string"      },      "roles": [        "string"      ],      "instance": true    }  ]}

Was this page helpful?