Approvals

SetPolicy enables authorization policy checks for the given resource and applies any provided request or approval settings. If the resource has existing policies settings, they will be replaced. Once the policy is set, authorization checks will be performed for the given resource.

post/v2/organizations/{organization}/settings/{setting}/approvals

Request

Path parameters

organizationstring required

Organization name.

settingstring required

Setting name.

Request body

etagstring
mode'UNRESTRICTED' | 'ALLOW_REQUESTED' | 'REQUIRE_APPROVAL' required
  • UNRESTRICTED: Allows all subjects in the same policy class to access the resource.
  • ALLOW_REQUESTED: Allows only the subjects in the request and approved list to access the resource.
  • REQUIRE_APPROVAL: Allows only the subjects in the approved list to access the resource.

Response

A successful response.

object required

Changes

No recorded changes to this operation across all 3 revisions of this API.