Create a policy.
Documentation Index
Fetch the complete documentation index at: https://conductorone-groman-network-requirements-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
The CreatePolicyRequest message is used to create a new policy.
The display name of the new policy.
The description of the new policy.
Step sequences for this policy. The map must include a baseline entry keyed by the lowercased policy type (e.g., "grant"). Additional entries with opaque keys can be added for conditional routing via the rules array.
The type of policy to create (grant, revoke, or certify).
POLICY_TYPE_UNSPECIFIED, POLICY_TYPE_GRANT, POLICY_TYPE_REVOKE, POLICY_TYPE_CERTIFY, POLICY_TYPE_ACCESS_REQUEST, POLICY_TYPE_PROVISION Ordered actions to execute after the policy completes processing.
This field is no longer used. Configure delegate reassignment in the policy step instead.
Conditional routing rules. See the Policy message for details on evaluation order.
The CreatePolicyResponse message contains the created policy object.
The CreatePolicyResponse message contains the created policy object.
A policy defines a workflow (sequence of steps) that runs when processing access requests, reviews, or revocations. Policies support conditional routing: different conditions can trigger different step sequences, with a baseline fallback.