Skip to navigation

Update a grant

View as Markdown
Update an identity grant's status or policy.

Authentication

X-Api-Keystring
API Key authentication via header

Path parameters

grant_idstringRequired

Headers

X-Workspace-IdstringOptional

Request

Request body for updating a grant via the public API
statusenumOptional
Allowed values:
policy_idlongOptional
Change the policy associated with the grant
policy_keystringOptional

Change the policy by key (alternative to policy_id)

granted_bylongOptional
User ID who authorized this grant
granted_atdatetimeOptional
When the grant was authorized

Response

Successful response