# Deletes a custom job

Deletes a custom job

Endpoint: DELETE /v1/tours/{tourId}/custom-jobs/{jobId}
Version: 1.0.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header x-api-key

## Path parameters:

  - `tourId` (string, required)
    Unique tour identifier (generated by Better Route backend)

  - `jobId` (string, required)
    Unique job identifier (generated by Better Route backend)

## Response 200:

  - `200` (unknown)
    Successfully deleted the custom job

## Response 200 fields (application/json):

  - `data` (object)
    Example: {}

## Response 400:

  - `400` (unknown)
    Error response returned when the request is invalid. In most cases this implies that some data in the request is either missing or has incorrect format.

## Response 400 fields (application/json):

  - `error` (object)
    Error response

  - `error.status` (integer)
    HTTP error status
    Example: 400

  - `error.message` (string)
    Human readable error message
    Example: 'depot' field can't be null

  - `error.errorCode` (string)
    Machine-friendly error message containing only alphanumeric characters and '.'
    Example: tour.list.fetch.failed.bad.request

  - `error.details` (array)

## Response 401:

  - `401` (unknown)
    Error response returned when the provided API key is missing or invalid

## Response 401 fields (application/json):

  - `error` (object)
    Error response

  - `error.status` (integer)
    HTTP error status
    Example: 400

  - `error.message` (string)
    Human readable error message
    Example: 'depot' field can't be null

  - `error.errorCode` (string)
    Machine-friendly error message containing only alphanumeric characters and '.'
    Example: tour.list.fetch.failed.bad.request

  - `error.details` (array)

## Response 404:

  - `404` (unknown)
    Error response returned in cases the requested endpoint or data can't be found

## Response 404 fields (application/json):

  - `error` (object)
    Error response

  - `error.status` (integer)
    HTTP error status
    Example: 400

  - `error.message` (string)
    Human readable error message
    Example: 'depot' field can't be null

  - `error.errorCode` (string)
    Machine-friendly error message containing only alphanumeric characters and '.'
    Example: tour.list.fetch.failed.bad.request

  - `error.details` (array)

## Response 429:

  - `429` (unknown)
    Error response returned in case operation encounter rate limit

## Response 429 fields (application/json):

  - `error` (object)
    Error response

  - `error.status` (integer)
    HTTP error status
    Example: 400

  - `error.message` (string)
    Human readable error message
    Example: 'depot' field can't be null

  - `error.errorCode` (string)
    Machine-friendly error message containing only alphanumeric characters and '.'
    Example: tour.list.fetch.failed.bad.request

  - `error.details` (array)

## Response 500:

  - `500` (unknown)
    Error response returned whenever the server fails to process the request

## Response 500 fields (application/json):

  - `error` (object)
    Error response

  - `error.status` (integer)
    HTTP error status
    Example: 400

  - `error.message` (string)
    Human readable error message
    Example: 'depot' field can't be null

  - `error.errorCode` (string)
    Machine-friendly error message containing only alphanumeric characters and '.'
    Example: tour.list.fetch.failed.bad.request

  - `error.details` (array)

