v1

latestOpenAPI 3.1.02026-08-04147764567.0 KB
accessManagement

Create a grant for a user

Create an identity grant directly without going through the IGA workflow. Requires user_id and entitlement_id. Optionally specify policy, granted_by, and granted_at. The grant method is automatically derived from the entitlement's provisioning config.

post/api/v1/iga/grants

Headers

X-Api-Keystring required
X-Workspace-Idstring

Request body

user_idinteger required

The ID of the user who will receive the grant

entitlement_idinteger required

The ID of the entitlement to grant

policy_idinteger

Optional policy ID to associate with the grant

policy_keystring

Optional policy key (alternative to policy_id)

granted_byinteger

Optional user ID of who authorized this grant. Defaults to the API key owner.

granted_atstring date-time

Optional timestamp of when the grant was authorized. Defaults to current time.

Response

Successful response

AccessManagementPostapiV1IgaGrantsResponse200 required

Empty response body