Skip to main content
POST
/
api
/
v1
/
tam
/
build
/
{job_id}
/
cancel
Cancel TAM Builder Job
curl --request POST \
  --url https://api.openfunnel.dev/api/v1/tam/build/{job_id}/cancel \
  --header 'X-API-Key: <x-api-key>'
{
  "job_id": "8a8e8a97-8192-48ff-849a-d8a96e949732",
  "status": "cancelling",
  "message": "Cancellation requested. Poll GET /api/v1/tam/build/8a8e8a97-8192-48ff-849a-d8a96e949732 for the final status and the companies built before cancellation."
}

Headers

X-API-Key
string
required

Path Parameters

job_id
string
required

The job_id returned by the TAM build submit endpoint.

Response

Cancellation accepted; the job is now cancelling.

Returned when cancellation is requested.

job_id
string
required
status
string
default:cancelling
required
message
string
required