Bulk update non-withdrawal pending approvals

put/api/v2/pendingapprovals/bulkupdate

Request Body

approvals array[object] required
List of approvals to process
paId string required
Pending approval ID
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
status string required
Approval action status
Allowed values: approved rejected
bailOnError boolean
If true, stops processing on the first error. If false (default), continues processing all items.
Default: false

200 Response

resultsrequired
Individual approval result item
paId string required
Pending approval ID
status string required
Result status
Allowed value: success

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

401 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

422 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

500 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id