List OrgMembership
resources in an OrgUnit treated as 'parent'.
Parent format: orgUnits/{$orgUnitId}
where $orgUnitId
is the orgUnitId
from the Admin SDK OrgUnit
resource
HTTP request
GET https://cloudidentity.googleapis.com/v1beta1/{parent=orgUnits/*}/memberships
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Immutable. OrgUnit which is queried for a list of memberships. Format: orgUnits/{$orgUnitId} where |
Query parameters
Parameters | |
---|---|
customer |
Required. Immutable. Customer that this All authorization will happen on the role assignments of this customer. Format: customers/{$customerId} where You may also use |
filter |
The search query. Must be specified in Common Expression Language. May only contain equality operators on the |
page |
The maximum number of results to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will default to 50. The maximum allowed value is 100, though requests with pageSize greater than that will be silently interpreted as 100. |
page |
A page token, received from a previous Provide this to retrieve the subsequent page. When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
The response message for OrgMembershipsService.ListOrgMemberships
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"orgMemberships": [
{
object ( |
Fields | |
---|---|
org |
The non-vacuous membership in an orgUnit. |
next |
A token, which can be sent as If this field is empty, there are no subsequent pages. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-identity.orgunits.readonly
https://www.googleapis.com/auth/cloud-identity.orgunits
For more information, see the Authentication Overview.