Skip to main content

List Access Policies

Request

Allows a user to page through all of the access policies within a project. The project is identified by projectId. Access to this operation is controlled by the project being accessed.

The auth token's access policy must allow action:use/listAccessPolicies.

Security
bearerAuth
Path
projectIdstring(ProjectId)^project:[0-9a-zA-Z](?![^:]*-$)(?![^:]*--)[0-...required

Globally unique identifier of a project. Callers may URL encode this value.

Example:project:abc-123
Payload
// No request payload

Responses

Success

Bodyapplication/json
listArray of objects(UserAccessPolicyData)required
nextPageTokenstring, [ 1 .. 4096 ] characters(NextPageToken)

When paging through results, the NextPageToken indicates what page to read next. It is obtained from the previous call.

Example:"eyJsYXN0S2V5IjoiYWJjMTIzIn0="
Response
{ "list": [ { … } ], "nextPageToken": "eyJsYXN0S2V5IjoiYWJjMTIzIn0=" }
Was this page helpful?