DorkOS
ApiCloudLinkCancel

Stop a link flow in progress, or dismiss the note a finished relink left

POST
/api/cloud/link/cancel

Stops polling at once between token requests. A token request already sent finishes first, and a key it issues is kept. Settles in linked while this instance holds a key, else idle, and answers that state.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/cloud/link/cancel"
{  "state": "idle",  "accountLabel": "string",  "lastHeartbeatAt": "string",  "relinkOutcome": "denied",  "pending": {    "userCode": "string",    "verificationUri": "string",    "verificationUriComplete": "string",    "expiresAt": "string"  },  "approvedCode": "string"}