# Delete field

```http
DELETE https://api.axiom.co/v2/datasets/{dataset_id}/fields/{field_id}
```

Queues the deletion of a field from the dataset schema. Deleted values stay in storage but can't be queried, and ingesting the field again recreates it. You can delete fields once every 5 minutes per dataset.

<Note>
  When the endpoint returns the status code 202, it means that the deletion request is queued. The deletion itself might take several hours to complete. For more information, see [Delete fields](/reference/datasets#delete-fields).
</Note>

## Authentication

Authenticate using an API token or personal access token (PAT). Include the token as a Bearer token: `Authorization: Bearer <token>`. For more information, see [Tokens](/reference/tokens).

## Parameters

- `dataset_id` (path; string; required)
- `field_id` (path; string; required)

## Responses

### 202: Field deletion queued.

Content type: `application/json`

- `fields` (array of string)
- `jobId` (string)

### 400: A system field or map field, a locked schema, or a metrics dataset.

Content type: `application/json`

- `code` (integer): HTTP status code.
- `message` (string): Error message.

### 403: Forbidden

Content type: `application/json`

- `code` (string)
- `message` (string)

### 404: The dataset doesn't exist or the field isn't in its schema.

Content type: `application/json`

- `code` (integer): HTTP status code.
- `message` (string): Error message.

### 429: Fields were deleted from this dataset less than 5 minutes ago. Retry after the time in `Retry-After`.