Skip to main content
DELETE
cURL
Deletes a version and every save under its name. It’s no longer listed, readable or callable, and its name becomes free to use again. Executions that ran on the version keep their transcripts, recordings and data.
Delete returns 409 while the version can’t be deleted yet:
  • It’s live. Make another version live first, then delete it. Message: The live version can't be deleted. Make another version live first.
  • It’s in the split of an A/B batch that hasn’t finished. Stop the batch or let it finish first. Message: This version is in an A/B test on a batch that hasn't finished. Stop or finish that batch first.
  • A workflow call that has been accepted but hasn’t connected yet is waiting on a save of it, for example one held until calling hours. Take the version out of the workflow’s A/B test and let those calls connect first. Message: This version has workflow calls waiting to be placed. Take it out of the workflow and let those calls connect first.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string<uuid>
required

The agent's id

agent_version_id
string<uuid>
required

The version's id, from List agent versions

Response

Version deleted