Method: organizations.setSyncAuthorization

Sets the permissions required to allow the Synchronizer to download environment data from the control plane. You must call this API to enable proper functioning of hybrid.

We recommend that you pass the ETag when calling setSyncAuthorization to ensure that you are updating the correct version. To get an ETag, call getSyncAuthorization. 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/*}:setSyncAuthorization

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 contains an instance of SyncAuthorization.

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