コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl delete

Page as Markdown

レジストリリソースをタイプと名前で、またはファイルから削除します。

レジストリリソースをタイプと名前で、または YAML ファイルから削除します。

ファイルモード: FILE からリソースを読み取り、宣言的に削除します。arctl delete -f agent.yaml

明示モード: タイプと名前を指定します。タグ付きの種類では、-tag で正確なタグを選択し、デフォルトは latest です。arctl delete TYPE NAME [-tag TAG | -all-tags]

TYPE は agents、mcps、skills、prompts、plugins、models、runtimes、secrets、deployments、accesspolicies、gateways、runtimeaccesspolicies のいずれかである必要があります。タイプ名では大文字と小文字は区別されず、単数形、複数形、登録済みエイリアスを使用できます。

使用方法

arctl delete (TYPE NAME | -f FILE) [flags]

例:

arctl delete -f my-agent/agent.yaml
arctl delete -f my-server/mcp.yaml
arctl delete agent acme-summarizer --tag stable
arctl delete agent acme-summarizer --all-tags
arctl delete mcp acme-fetch --tag stable
arctl delete deployment team-a/my-agent

コマンド固有のフラグ

--all-tags: Tagged kinds only: delete every tag of NAME.
-f, --filename string: YAML file to read resources from.
--tag string: Tagged kinds only: delete a specific tag (defaults to latest).

グローバルフラグ

-h, --help: Display help information for the command.
--registry-token string: Registry bearer token (defaults to value of ARCTL_API_TOKEN env var).
--registry-url string: Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121).