Patch generic request approval config
PATCH/generic-request-approval-config/v1/:id
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
Updates stored approval configuration with an RFC 6902 JSON Patch.
Patchable paths are /approvalConfig and /approvalConfig/{ACTION} for each action
in the row's targetType vocabulary. For RESOURCE and GLOBAL those actions are
ACTIVATE and DEACTIVATE.
id, targetType, targetId, and sourceId are not patchable.
/approvalConfig/DELETE_AT_SOURCE is rejected with 400.
Replace an action with {} (or remove it) to clear this scope. Submit then uses RESOURCE,
then GLOBAL, then org-level agent request configuration. Empty action objects are not persisted.
Allowed approver tokens for RESOURCE ACTIVATE and DEACTIVATE:
sourceOwner, manager, machineIdentityPrimaryOwner,
machineIdentitySecondaryOwners, machineIdentityAllOwners,
workgroup:[workgroupId], identity:[identityId].
accountOwner is not allowed on those actions. Role tokens may appear once.
workgroup: and identity: may repeat with distinct ids.
GLOBAL writes accept scheme: WORKFLOW only.
Unknown id returns 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Full document after the patch, same shape as GET.
Client Error - Returned if the request body is invalid.
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Not Found - returned if the request URL refers to a resource or object that does not exist
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Internal Server Error - Returned if there is an unexpected error.