Access Management
Create a grant for a user
POST https://{tenant}.atomicwork.com/api/v1/iga/grants
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.
Authorization
X-Api-KeyrequiredAPI key authentication.
Headers
X-Workspace-IdBody
user_idrequiredThe ID of the user who will receive the grant
entitlement_idrequiredThe ID of the entitlement to grant
policy_idOptional policy ID to associate with the grant
policy_keyOptional policy key (alternative to policy_id)
granted_byOptional user ID of who authorized this grant. Defaults to the API key owner.
granted_atOptional timestamp of when the grant was authorized. Defaults to current time.
Response
Successful response
