Cancel a CLI auth challenge
POST
/api/cli-auth/challenges/{id}/cancelNo API key
Cancel a CLI auth challenge.
Authorization
No API key is needed: the token or id in the path, or the request's own signature, authenticates the call. How keys work.
Path parameters
idstringRequiredThe challenge's id.
Request body
application/json · required
tokenstringRequired
16–256 charactersResponses
200SuccessThe request worked; the body holds the result.
400Bad requestThe request is malformed or failed validation.
details names each field that failed.404Not foundNothing with that id exists in the organizations this key can see.
Errors return {"error": "..."}, often with a code and details. See errors and limits.