doctl signals deletion create

Generated on 13 Nov 2026 from doctl version v2.5.0

Usage

doctl signals deletion create [flags]

Aliases

c

Description

Starts an asynchronous, permanent deletion of Signals conversation data. This cannot be undone.

  • –type agent –environment-id : deletes Signals conversations for one Harness Runtime agent and turns off collection for that agent. –environment-id is the agent’s Environment Config ID (the agent UUID).
  • –type inference: deletes Serverless Inference Signals conversations for your whole team (team-wide; not limited to one endpoint or model) that were collected at or before the deletion request, and turns off team inference collection. Do not pass –environment-id.

On create, matching conversations are hidden from Signals reads immediately and collection for that scope is turned off; deletion continues in the background. Poll doctl signals deletion get <deletion-id> until the status is complete. For an agent deletion, wait until the job is complete before enabling Signals for that agent again.

You are asked to confirm unless you pass –force. Without a terminal, –force is required.

If an active deletion for the same target already exists, the API returns HTTP 200 with that job (doctl prints a note on stderr); a new job is HTTP 202. Safe to retry while queued or running. After the first job finishes, create starts a new one. Earlier export files are not deleted and remain available until they expire.

Note: Aggregated Insights or metrics charts may still show historical summary datapoints after deletion. Those summaries are not the same as recoverable conversation content.

Other API errors you may see: 400 (bad type/agent_id), 403 (team_id mismatch), 404 (unknown agent), 429 (too many active deletion jobs for the team).

–type is required (the API also requires it; omitting type is HTTP 400). Your team ID is detected automatically (this needs permission to read Signals consents). If you lack that permission, pass –team-id.

Each job contains:

  • The deletion job ID
  • The type (agent or inference)
  • The environment ID (environment only)
  • The status (queued, running, complete, failed)
  • Created / started / completed timestamps (Unix seconds)

Extra columns are available with –format: TeamID, ErrorMessage.

Flags

Option Description
--agent-id Deprecated: use –environment-id.
--environment-id Harness Runtime Environment Config ID (agent UUID). Required for –type agent; must not be set for inference.
--force, -f Skip the confirmation prompt
Default: false
--format Columns for output in a comma-separated list. Possible values: DeletionID, Type, EnvironmentID, Status, CreatedAt, StartedAt, CompletedAt.
--help, -h Help for this command
--no-header Return raw data with no headers
Default: false
--team-id Numeric team ID. Auto-detected when omitted.
Default: 0
--type What to delete: “agent” or “inference”. (required)
Command Description
doctl signals deletion Display commands for Signals data deletion

Global Flags

Option Description
--access-token, -t API V2 access token
--api-url, -u Override default API endpoint
--config, -c Specify a custom config file
Default:
    --context Specify a custom authentication context name
    --http-retry-max Set maximum number of retries for requests that fail with a 429 or 500-level error
    Default: 5
    --http-retry-wait-max Set the minimum number of seconds to wait before retrying a failed request
    Default: 30
    --http-retry-wait-min Set the maximum number of seconds to wait before retrying a failed request
    Default: 1
    --interactive Enable interactive behavior. Defaults to true if the terminal supports it (default false)
    Default: false
    --output, -o Desired output format [text|json]
    Default: text
    --show Reveal masked values, such as secrets, instead of hiding them. Values are unmasked automatically in CI
    Default: false
    --trace Show a log of network activity while performing a command
    Default: false
    --verbose, -v Enable verbose output
    Default: false

    We can't find any results for your search.

    Try using different keywords or simplifying your search terms.