Skip to main content
POST
Cancel Action

Overview

Discards a pending action. Nothing is sent or changed.
Changes data, so it needs a key that isn’t read-only.
Operation name: action.cancel.

Authorization

string
required
Your Composer API key

Headers

string
required
Must be set to application/json

Body

string
required
The action’s token, from List Pending Actions.
Example
Example Request

Response

boolean
True when the action was discarded.
string
What was discarded.
string
When cancelled is false: why, for example it was already confirmed or expired.
Example Success Response

Example cURL

cURL

Error Codes