Retrieves a list of organization members using OpenAPI.
|
Supported editions |
Enterprise Dedicated Edition |
Service endpoints
Get the service endpoint and replace {domain}
in the API request syntax with your
endpoint
.
Authorization
Product | Resource | Required permission |
organization settings | organization members | read-only |
Request syntax
GET https://{domain}/oapi/v1/platform/organizations/{organizationId}/membersRequest | Query the member list |
Request headers | |
The access token. See Access token for details. Example: pt-0fh3****0fbG_35af****0484. | |
Request parameters | |
organizationId The ID of the organization. You can find this ID on the Basic Information page in organization settings. | |
page The page number. | |
perPage The number of entries to return on each page. Valid values: |
Response parameters | Response example |
deptIds The IDs of the departments to which the member belongs. | |
id The ID of the member. | |
joined The timestamp when the member joined the organization. This value is the record's creation time in the database. | |
name The name of the member. | |
email The email address of the member. | |
organizationId The ID of the organization. | |
roleIds The IDs of the roles assigned to the member. | |
status The status of the member. Valid values: | |
userId The ID of the user. | |
visited The timestamp of the member's last visit. |
Response headers
Parameter | Description | Example |
x-next-page | The next page number. | 1 |
x-page | The current page number. | 2 |
x-per-page | The number of entries per page. | 1 |
x-prev-page | The previous page number. | 2 |
x-total | The total number of entries. | 1 |
x-total-pages | The total number of pages. | 3 |
Error codes
For more information, see Error codes.