CueFrame
Api

Cancel template preparation

Required permission: projects:write

POST
/v1/template-jobs/{jobId}/cancel

Authorization

AuthorizationBearer <token>

API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.

In: header

Path Parameters

jobId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/template-jobs/string/cancel"
{  "jobId": "string",  "projectId": "string",  "status": "preparing",  "stage": "resolving",  "templateRef": "string",  "documentSha256": "string",  "errorCode": "string",  "errorMessage": "string",  "createdAt": "string",  "updatedAt": "string"}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "x402Version": 2,  "accepts": [    {}  ],  "error": "string"}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}