Skip to content

chainabit agents delete ​

Published (2.2.0) ​

This command is not included in Published (2.2.0). It is available in Development (2.2.0).

Development (2.2.0) ​

Delete a cloud agent

Synopsis ​

text
chainabit agents delete <id> [options]

Arguments ​

ArgumentDescriptionDefault
<id>Required.—

Options ​

OptionDescriptionDefault
--yesConfirm this change—

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Deletes the cloud agent with the given ID. The agent no longer appears in chainabit agents status. It works in the selected cloud workspace; if none is selected, the command stops and asks you to choose one first (see chainabit workspace use).

This command changes data, so it asks you to confirm in an interactive terminal. Pass --yes to confirm without a prompt. With --json, or when input or output is redirected, there is no prompt: without --yes the command changes nothing, tells you to add --yes and exits with code 2.

Output ​

Prints the ID of the deleted agent. With --json, the output contains id, location (always cloud) and deleted set to true.

Authentication and permissions ​

You must be signed in. The server decides whether your account may make this change; if it refuses, the command prints the error, exits with a non-zero code and changes nothing. If the connected API does not support the operation yet, the command stops before sending anything.

Examples ​

bash
chainabit agents delete 00000000-0000-4000-8000-000000000001 --yes

Built with purpose. chainabit.com