Method: organizations.getSyncAuthorization

Lists the service accounts with the permissions required to allow the Synchronizer to download environment data from the control plane.

An ETag is returned in the response to getSyncAuthorization. Pass that ETag when calling setSyncAuthorization to ensure that you are updating the correct version. If you don't pass the ETag in the call to setSyncAuthorization, then the existing authorization is overwritten indiscriminately.

For more information, see Enable Synchronizer access.

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*}:getSyncAuthorization

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Organization name in the following format: organizations/{org}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of SyncAuthorization.

Authorization Scopes

Requires the following OAuth scope:

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