Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

Delete an Agent Variable

DELETE/v1/projects/{project_id}/agent-variables/{variable_id}Delete an Agent Variable

Deletes the specified template variable

Parameters

project_idstringpathrequired

The unique identifier of the project

variable_idstringpathrequired

The unique identifier of the agent variable

Responses

200Agent variable deletedapplication/json
objectDeleteAgentVariableV1Response

DeleteAgentVariableV1Response

Confirmation that the agent variable was deleted

Example response
{}
400Invalid Requestapplication/json
valueErrorResponse

ErrorResponse

oneOf · 3 options
Option 1stringErrorResponseTextError

ErrorResponseTextError

Option 2objectErrorResponseLegacyError

ErrorResponseLegacyError

err_codestring

The error code

err_msgstring

The error message

request_idstring

The request ID

Option 3objectErrorResponseModernError

ErrorResponseModernError

categorystring

The category of the error

detailsstring

A description of the error

messagestring

A message about the error

request_idstring

The unique identifier of the request

Example response
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
Documentation menu