Method: accessPolicies.patch

Stay organized with collections Save and categorize content based on your preferences.

Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Output only. Resource name of the AccessPolicy. Format: accessPolicies/{policy_id}

Query parameters


string (FieldMask format)

Required. Mask to control which fields get updated. Must be non-empty.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AccessPolicy.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.