list

HTTP Request

1
GET /api/v1/organizations/:organizationName/members/
Copied!

Path parameters

Parameter
Type
Description
:organizationName
string
The name of the organization

Query parameters

Parameter
maxResults
integer
Maximum number of results to return. Defaults to 25, may not exceed 100.
pageToken
string
Page token, returned by a previous call, to request the next page of results. If not provided, the first page will be returned
hasDataAccessToAll
string
A comma separated list of dataset references; see referencing resources for more info).
Only members who have data access to all of the referenced datasets will be returned.
hasDataAccessToAny
string
A comma separated list of dataset references; see referencing resources for more info).
Only members who have data access to at least one of the referenced datasets will be returned.
If both hasDataAccessToAll and hasDataAccessToAny are provided, members will be returned who fulfill both query parameters (logical AND). That is, they must have access to all datasets listed in hasDataAccessToAll and at least one dataset listed in hasDataAccessToAny
This endpoint extends the general API structure.

Authorization

You must be an administrator of the requested organization, and your access token must have the following scope:
    organization.read

Request body

The request body must be empty.

Response body

Returns a JSON representation of an array of member resources.
1
{
2
"kind": "memberList",
3
"nextPageToken": integer,
4
"results": [
5
object(member.list)
6
]
7
}
Copied!

Examples

curl
1
curl -H "Authorization: Bearer $REDIVIS_ACCESS_TOKEN" \
2
"https://redivis.com/api/v1/organizations/my_organization/members?hasDataAccessToAll=test_dataset:1,other_dataset:2"
Copied!
Last modified 4mo ago