organizations
POST /v3/organizations/{organizationsId}:setIamPolicy
Sets the access control policy on an organization resource. Replaces any existing policy. The resource field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission resourcemanager.organizations.setIamPolicy on the specified organization.
Request
- Base URLhttps://cloudresourcemanager.googleapis.com
- URLhttps://cloudresourcemanager.googleapis.com/v3/organizations/{organizationsId}:setIamPolicy
- AuthOAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
Path parameters
organizationsIdstring required
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 7 revisions of this API.