v1
latestOpenAPI 3.0.12026-08-041753011.2 MBApproval
Update an approval request
patch/v1/workspaces/{workspaceId}/approval-requests/{approvalRequestId}
Path parameters
workspaceIdstring required
Represents workspace identifier across the system.
Example:dd087fe2dd087fe2dd087fe2
Represents workspace identifier across the system.
approvalRequestIdstring required
Represents an approval request identifier across the system.
Example:940ab5acb07987125438b65y
Represents an approval request identifier across the system.
Request body
Example request
{
"note": "This is a sample note.",
"state": "PENDING"
}Response
OK
Example response
{
"creator": {
"userEmail": "johhndoe@example.com",
"userId": "5a0ab5acb07987125438b60f",
"userName": "johhndoe"
},
"id": "567687e29ae1f428e7ebf564",
"owner": {
"startOfWeek": "MONDAY",
"timeZone": "Europe/Budapest",
"userId": "5a0ab5acb07987125438b60f",
"userName": "johndoe"
},
"status": {
"note": "This is a sample approval request note.",
"state": "APPROVED",
"updatedAt": "2020-01-01T08:00:00Z",
"updatedBy": "5a0ab5acb07987125438b60f",
"updatedByUserName": "juandelacruz"
},
"workspaceId": "64a687e29ae1f428e7ebe303"
}