POST
/
payrollrun
/
{run_id}
/
approve
Approve Payroll
curl --request POST \
  --url https://sandbox.intermezzo.ai/payrollrun/{run_id}/approve \
  --header 'Authorization: Bearer <token>'
{
  "id": "run_01h455vb4pex5vsknk084sn02q",
  "externalRef": "<string>",
  "status": "draft"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

run_id
string
required

TypeID with prefix 'run'

Example:

"run_01h455vb4pex5vsknk084sn02q"

Response

Successful Response

The response is of type object.