Skip to main content
POST
/
api
/
enterprise
/
request
/
cancel
Request Cancel
curl --request POST \
  --url https://api.wokelo.ai/api/enterprise/request/cancel/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "request_id": "5b0eff60-366f-465c-b795-68837043a2d3"
}
'
{
  "status": "success",
  "message": "Request has been cancelled."
}

Documentation Index

Fetch the complete documentation index at: https://docs.wokelo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Cancels a request already submitted.

Endpoint Details

  • Method: POST
  • Endpoint: /api/enterprise/request/cancel/

Authentication requirements

  • Include a valid JWT token in your request header
  • If you don’t have a token yet, you can get one from the /auth/token/ endpoint first.

Request

Request Parameters

Header Parameters

Authorization
string
required
JWT token obtained from the Authentication request

Query Parameters

request_id
string
required
The unique identifier of request which needs to be cancelled

Response

Authorizations

Authorization
string
header
required

JWT token obtained from the /auth/token/ endpoint.

Body

application/json
request_id
string
required

The unique identifier of the request to be cancelled.

Example:

"5b0eff60-366f-465c-b795-68837043a2d3"

Response

Request successfully cancelled.

status
string
Example:

"success"

message
string
Example:

"Request has been cancelled."