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 Configure the Synchronizer.

Note: Available to Apigee hybrid only.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the Apigee organization. Use the following structure in your request: organizations/{org}

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

  • apigee.organizations.get

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