---
operationId: deleteClipJob
title: Delete a clip job
url: "https://mediaseer.ai/docs/api/operations/deleteclipjob/"
---

# Delete a clip job

`DELETE /clip-jobs/{id}`

URL: `api.mediaseer.ai/api/v1/clip-jobs/{id}`

Allowed in any state; a job whose clips are still being made is stopped. The job and its clips are gone from this API at once. Their copies at the clip service are removed afterwards, as far as that service allows. Deleting gives nothing back against the clip limits.

## Authorizations

- **[apiKeyAuth](https://mediaseer.ai/docs/api/#apikeyauth)**

## Parameters

### Path Parameters

- `id` string, required: The clip job’s `id`.

## Responses

### 204

Deleted

### 401

Missing, invalid or expired credentials (`UNAUTHENTICATED`).

Media type: application/json

object

- `code` string, required: Stable machine-readable code. Clients branch on this, never on `message`.

  Allowed values: `VALIDATION`, `UNAUTHENTICATED`, `INVALID_TOKEN`, `FORBIDDEN`, `EMAIL_NOT_VERIFIED`, `NOT_FOUND`, `INVALID_STATE`, `UPLOAD_INCOMPLETE`, `QUOTA_EXCEEDED`, `RATE_LIMITED`, `UPSTREAM_ERROR`, `CLIPS_NOT_CONFIGURED`, `CLIPS_UNAVAILABLE`, `INTERNAL`

- `message` string, required: Human-readable, safe to show to the user. For `VALIDATION` with a single detail, it states that detail’s reason, naming the field where the reason needs it; with several, it is generic and `details` lists them.

- `details` Array\<object>: Optional field-level or limit-level detail.

  object

  - `field` string: The request field the detail refers to, if any; for `QUOTA_EXCEEDED`, the limit that was hit.
  - `message` string, required

#### Example

```json
{
  "code": "VALIDATION",
  "message": "The file is larger than the limit of 2147483648 bytes.",
  "details": [
    {
      "field": "sizeBytes",
      "message": "must be at most 2147483648"
    }
  ]
}
```

### 404

No such resource for this caller (`NOT_FOUND`). Other users’ resources look the same.

Media type: application/json

object

- `code` string, required: Stable machine-readable code. Clients branch on this, never on `message`.

  Allowed values: `VALIDATION`, `UNAUTHENTICATED`, `INVALID_TOKEN`, `FORBIDDEN`, `EMAIL_NOT_VERIFIED`, `NOT_FOUND`, `INVALID_STATE`, `UPLOAD_INCOMPLETE`, `QUOTA_EXCEEDED`, `RATE_LIMITED`, `UPSTREAM_ERROR`, `CLIPS_NOT_CONFIGURED`, `CLIPS_UNAVAILABLE`, `INTERNAL`

- `message` string, required: Human-readable, safe to show to the user. For `VALIDATION` with a single detail, it states that detail’s reason, naming the field where the reason needs it; with several, it is generic and `details` lists them.

- `details` Array\<object>: Optional field-level or limit-level detail.

  object

  - `field` string: The request field the detail refers to, if any; for `QUOTA_EXCEEDED`, the limit that was hit.
  - `message` string, required

#### Example

```json
{
  "code": "VALIDATION",
  "message": "The file is larger than the limit of 2147483648 bytes.",
  "details": [
    {
      "field": "sizeBytes",
      "message": "must be at most 2147483648"
    }
  ]
}
```

### default

Unexpected error

Media type: application/json

object

- `code` string, required: Stable machine-readable code. Clients branch on this, never on `message`.

  Allowed values: `VALIDATION`, `UNAUTHENTICATED`, `INVALID_TOKEN`, `FORBIDDEN`, `EMAIL_NOT_VERIFIED`, `NOT_FOUND`, `INVALID_STATE`, `UPLOAD_INCOMPLETE`, `QUOTA_EXCEEDED`, `RATE_LIMITED`, `UPSTREAM_ERROR`, `CLIPS_NOT_CONFIGURED`, `CLIPS_UNAVAILABLE`, `INTERNAL`

- `message` string, required: Human-readable, safe to show to the user. For `VALIDATION` with a single detail, it states that detail’s reason, naming the field where the reason needs it; with several, it is generic and `details` lists them.

- `details` Array\<object>: Optional field-level or limit-level detail.

  object

  - `field` string: The request field the detail refers to, if any; for `QUOTA_EXCEEDED`, the limit that was hit.
  - `message` string, required

#### Example

```json
{
  "code": "VALIDATION",
  "message": "The file is larger than the limit of 2147483648 bytes.",
  "details": [
    {
      "field": "sizeBytes",
      "message": "must be at most 2147483648"
    }
  ]
}
```
