Skip to main content
DELETE
/
approvals
/
{id}
Delete approval
curl --request DELETE \
  --url https://app.tryordinal.com/api/v1/approvals/{id} \
  --header 'Authorization: Bearer <token>'
{
  "deletedApproval": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "Requested",
    "isBlocking": true,
    "message": "<string>",
    "dueDate": "2023-11-07T05:31:56Z",
    "approvedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "user": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "jsmith@example.com",
      "firstName": "<string>",
      "lastName": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    },
    "requestedBy": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "jsmith@example.com",
      "firstName": "<string>",
      "lastName": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryordinal.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your workspace settings.

Path Parameters

id
string<uuid>
required

Approval ID (UUID)

Response

Approval deleted

deletedApproval
object