---
title: "Delete a custom variable"
method: DELETE
path: "/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}"
tags: ["Webhooks Integration"]
---

# Delete a custom variable

`DELETE /api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Deletes the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.

## Path parameters

- `custom_variable_name` string, required

## Response `200`

OK

## Other responses

- `403`: Authentication error
- `404`: Item Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
