> For the complete documentation index, see [llms.txt](https://talque.gitbook.io/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://talque.gitbook.io/public/webhooks/vendors/delete.md).

# Delete

## Delete vendor

<mark style="color:green;">`POST`</mark> `https://www.talque.com/webhook/org/<org_id>/vendor/delete`

This API deletes a vendor, and returns the talque ID of the vendor that was deleted. The API call requires authentication as described in the [Authorization](/public/webhooks/general.md) section.

You can find a basic example at <https://github.com/talque/webhook-samples/blob/main/src/vendor/delete.py>

**Headers**

**Body**

| Name       | Type   | Description                                                           |
| ---------- | ------ | --------------------------------------------------------------------- |
| `extId`    | string | External ID of the vendor                                             |
| `vendorId` | string | Talque ID of the vendor. Only one of the two types of ID is required. |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "success": true,
  "vendorId": "rjlButrc1JLEHo81sRLl"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
