Policy

Create

Create a policy.

post/api/v1/policies

Request body

descriptionstring

The description of the new policy.

displayNamestring required

The display name of the new policy.

policyStepsobject

The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples.

policyType'POLICY_TYPE_UNSPECIFIED' | 'POLICY_TYPE_GRANT' | 'POLICY_TYPE_REVOKE' | 'POLICY_TYPE_CERTIFY' | 'POLICY_TYPE_ACCESS_REQUEST' | 'POLICY_TYPE_PROVISION'

The enum of the policy type.

reassignTasksToDelegatesboolean

Deprecated. Use setting in policy step instead

Response

The CreatePolicyResponse message contains the created policy object.

Changes