Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

Delete an Agent Configuration

DELETE/v1/projects/{project_id}/agents/{agent_id}Delete an Agent Configuration

Deletes the specified agent configuration. Deleting an agent configuration can cause a production outage if your service references this agent UUID. Migrate all active sessions to a new configuration before deleting.

Parameters

project_idstringpathrequired

The unique identifier of the project

agent_idstringpathrequired

The unique identifier of the agent configuration

Responses

200Agent configuration deletedapplication/json
objectDeleteAgentConfigurationV1Response

DeleteAgentConfigurationV1Response

Confirmation that the agent configuration 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