Skip to main content
PATCH
/
exceptions
/
{id}
Update exception status
curl --request PATCH \
  --url https://api.platform.dakota.xyz/exceptions/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "cleared": true
}
'
{
  "code": "invalid_request",
  "message": "The request was invalid. Please check your input and try again.",
  "details": {
    "field": "amount",
    "issue": "must be greater than 0"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Unique identifier of the exception

Body

application/json

Request to update an exception

cleared
boolean
required

Whether to mark the exception as cleared (true) or uncleared (false)

Example:

true

Response

Exception updated successfully