Approval

Deny a request

Denies a request by ID.

:::note This endpoint is executed according to the URL you received in the approval notification. :::

post/approval/{id}/deny

Path parameters

idinteger required

The ID of the approval.

Query parameters

tokenstring required

The authentication token provided in the approval notification.

Request body

messagestring

An optional message explaining the approver's decision.

detailsobject

Additional structured metadata related to the approver's decision.

Example request

{
  "reviewer": {
    "name": "Alex Manager",
    "email": "alex.mgr@crypto-inc.com",
    "nullplatform_user_id": null
  },
  "message": "Denied because it's outside of the deployment window.",
  "details": {
    "deployment_window": "Mon-Fri ; 9 AM to 5 PM"
  }
}

Response

The operation was successful.

successboolean required

Indicates whether the operation was successful.

Example response

{
  "success": true
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.