> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magpipe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Dynamic Variable

> Delete a dynamic variable

Permanently delete a dynamic variable. The agent will no longer extract this data from conversations.

## Path Parameters

<ParamField path="id" type="string" required>
  UUID of the dynamic variable to delete
</ParamField>

## Response

Returns a success message on deletion.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.magpipe.ai/functions/v1/manage-dynamic-variables/789e0123-e89b-12d3-a456-426614174000" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Dynamic variable deleted"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Dynamic variable not found"
  }
  ```
</ResponseExample>
