Method: projects.platforms.policies.replacePlatformPolicy

Replaces a platform policy. Returns NOT_FOUND if the policy doesn't exist.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Output only. The relative resource name of the Binary Authorization platform policy, in the form of projects/*/platforms/*/policies/*.

Request body

The request body contains an instance of PlatformPolicy.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.