Method: providers.accounts.list

Lists Accounts that the provider has access to.

HTTP request

GET https://cloudcommerceprocurement.googleapis.com/v1/{parent=providers/*}/accounts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource name.

Authorization requires the following IAM permission on the specified resource parent:

  • commerceprocurement.providerAccounts.list

Query parameters

Parameters
pageSize

integer

The maximum number of entries that are requested. The default page size is 25 and the maximum page size is 200.

pageToken

string

The token for fetching the next page.

Request body

The request body must be empty.

Response body

Response message for [PartnerProcurementService.ListAccounts[].

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

JSON representation
{
  "accounts": [
    {
      object (Account)
    }
  ],
  "nextPageToken": string
}
Fields
accounts[]

object (Account)

The list of accounts in this response.

nextPageToken

string

The token for fetching the next page.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.