latestOpenAPI 3.0.02026-08-10330179317.3 KB

0534e4d70b77

Requests

Approve a request 

This end point allows authorized users to approve a request which was assigned to them, this will automatically move request to be reviewed by the performing team leader.

Pending >> Approved

  • Authorized users: admins and assignee at the time.
patch/api/v1/requests/{id}/approve

Path parameters

idinteger required

The request ID

Request body

tokenstring required

Example request

{
  "token": "YOUR TOKEN IS HERE",
  "item": {
    "due_date": "2024-03-11",
    "priority": "Medium"
  }
}

Response

OK