Skip to main content

delete-ava-conversation

dci delete-ava-conversation [flags]

Deletes an Ava conversation by its ID.

Confirmation required

Interactive terminals show a confirmation prompt; scripts must pass --yes — see the CLI guide's Destructive commands.

The ID is a flag

The conversation is identified by --conversation-id, not a positional argument. Get the ID from the conversationId a persisted (ephemeral: false) dci ask-ava-sync call returns.

Examples

# Preview the deletion locally without sending anything.
dci delete-ava-conversation --conversation-id <conversation-id> --dry-run
# Delete without a prompt, for scripts.
dci delete-ava-conversation --conversation-id <conversation-id> --yes
Exit code 0 and no output.

Flags

FlagTypeDefaultExampleDescription
--conversation-idstringThe ID of the conversation to delete.

Every command also accepts the CLI-wide flags for output shaping — see Output formats and Table output options.

Output

On success, this command produces no response data.

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP status to exit code mapping
HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.
50040API_SERVER_ERRORThe API failed to process the request. Retryable; contact DoiT support if it persists.

Aliases: deleteavaconversation