Skip to navigation

Approve a request

This endpoint approves a request. Required role: RequestApprover.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
signaturestringRequired

The signature of the request approval, in the form base64(ecdsa_sign(sha265([hex(sha265(req1_metadata)),hex(sha265(req2_metadata)),...hex(sha265(reqN_metadata))])))

commentstringRequired
A comment field for the request approval, can be used to indicate the approver, or reason for approval.
idslist of stringsRequired

uint64; The IDs of the requests to approve

requestIdslist of stringsOptional

uint64; Deprecated: use the ids parameter instead

asyncbooleanOptional

Process the requests asynchronously (in the background). Use for large numbers of approvals

Response

A successful response.
signedRequestsstringOptionalformat: "uint64"
signaturesstringOptionalformat: "uint64"
asyncSignatureobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error