Skip to main content
POST
/
api
/
v1
/
approvals
/
{id}
/
approve
Approve request
curl --request POST \
  --url http://localhost:3000/api/v1/approvals/{id}/approve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resolvedBy": "<string>",
  "note": "<string>"
}
'
{
  "ok": true,
  "data": null
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Path Parameters

id
string
required

Body

application/json
resolvedBy
string
note
string

Response

Approval result

ok
boolean
required
data
unknown