# Delete an inventory key art

## Delete inventory key art

<mark style="color:red;">`DELETE`</mark> `https://ris.rightsline.com/v4/inventory/:id/keyart`

This endpoint allows you to delete the key art for an inventory item.

#### Path Parameters

| Name | Type    | Description               |
| ---- | ------- | ------------------------- |
| id   | integer | ID of the inventory item. |

#### Headers

| Name           | Type   | Description             |
| -------------- | ------ | ----------------------- |
| x-api-key      | string | Your company's API key. |
| Authentication | string | Authentication token.   |

{% tabs %}
{% tab title="200 Key art successfully deleted." %}

```javascript
{    
    "message": "Keyart deleted."
}
```

{% endtab %}

{% tab title="404 Key art not found for this inventory item." %}

```javascript
{    
    "message": "No keyart found."
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.rightsline.com/entities/inventory/delete-an-inventory-key-art.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
