v1

latestOpenAPI 3.1.02026-08-04147764567.0 KB
accessManagement

Create a policy

Create a new identity policy. Requires name, type, and status. Policies define access rules and can be associated with entitlements.

post/api/v1/iga/policies

Headers

X-Api-Keystring required
X-Workspace-Idstring

Request body

namestring required

Name of the policy

descriptionstring

Description of the policy

type'BIRTH_RIGHT' | 'SELF_SERVICE' required
status'DRAFT' | 'PUBLISHED' | 'ARCHIVED' | 'UNPUBLISHED' required
is_activeboolean

Whether the policy is active

entitlementsinteger[]

List of entitlement IDs to associate with this policy

app_idinteger required

ID of the identity resource app this policy belongs to

is_business_justification_requiredboolean

Whether business justification is required for requests under this policy

Response

Successful response

AccessManagementPostapiV1IgaPoliciesResponse200 required

Empty response body