Skip to content
StudyFetch API

Materials

Cancel a running processing job

Attempts to cancel a currently running PDF processing job

OpenAPI specification
POST/api/v1/materials/{id}/cancel-job

Authentication

x-api-key

Request

curl --globoff --request POST \
  --url 'https://api.example.com/api/v1/materials/%3Cid%3E/cancel-job' \
  --header 'x-api-key: <API_KEY>'

Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.

Replace https://api.example.com with the API server URL.

Parameters

idpath · string · required

Material ID

Responses

200Job cancellation requested successfully
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    }
  }
}
404Material or job not found