Deprecate approval policy
Requires the APPROVAL_POLICY.UPDATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
resourceId
The ID of the resource for which the action is posted.
Headers
x-platform-id
Platform ID.
Response
OK
source_type
The object type of this approval policy.
Allowed values:
reference
The human-readable reference to this approval policy.
name
The name of this approval policy.
approval_type
The type of approval process which needs to be followed if this approval policy is invoked.
Allowed values:
rule_groups
The groups of rules that are applicable for this approval policy. These will be chained using OR.
object_type
id
status
The current status of the approval policy.
Allowed values:
created_at
When the approval policy was created.
update_at
When the approval policy was updated last.
approvers
The type of approve level and users who are allowed to approve/decline the approval review.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error