Method: accounts.roleAssignments.list

Lists the role assignments from an account, ordered by name. The authenticated user must have the EDITOR role over the Account to list the role assignments.

HTTP request

GET https://ads.wazeapis.com/v1/{parent=accounts/*}/roleAssignments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the account that owns this collection of role assignments.

Query parameters

Parameters
pageSize

integer

The maximum number of role assignments to return. The service might return fewer than this value. If unspecified, at most 50 role assignments are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

pageToken

string

A page token, received from a previous roleAssignments.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to roleAssignments.list must match the call that provided the page token.

The token will expire and is not guaranteed to work indefinitely.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "roleAssignments": [
    {
      object (RoleAssignment)
    }
  ],
  "nextPageToken": string,
  "totalSize": string
}
Fields
roleAssignments[]

object (RoleAssignment)

The RoleAssignment resources from the specified account.

nextPageToken

string

A token that can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

totalSize

string (int64 format)

The total number of role assignments in the specified account.