Method: projects.locations.templates.unshare

Unshare a template from given clients. owner of the template can unshare template with clients. Shared client can only unshare the template from itself. PERMISSION_DENIED would be thrown if request is not from owner or for unsharing itself.

HTTP request

POST https://integrations.googleapis.com/v1/{name=projects/*/locations/*/templates/*}:unshare

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name that is associated with the Template.

Request body

The request body contains data with the following structure:

JSON representation
{
  "resourceNames": [
    string
  ]
}
Fields
resourceNames[]

string

Optional. Project name resources to unshare the template. The project names is expected in resource format Ex: projects/{project-number}

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • integrations.templates.unshare

For more information, see the IAM documentation.