Delete an Oliver agent.
DELETE/api/v1/oliver-agents/{oliver_agent_id}oliver:write
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Permanently deletes an agent and its links. An agent that has run, or that another agent is based on, cannot be deleted (409 in_use). A built-in agent cannot be deleted, and a progressive agent is 403. Explicit delete_orphaned_prompt=true additionally needs Delete Oliver System Prompts. When omitted, the agent's unused owned prompt is deleted only if that permission is held. The prompt stays when a progressive skill or execution profile owns it.
| スコープ | oliver:write (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | delete_oliver_agent |
| Portal の権限 | delete_oliver_agent_configs |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
oliver_agent_id | path | string | 必須 | |
delete_orphaned_prompt | query | boolean または null | 任意 | Also delete the agent's own system prompt when no other agent uses it. Requires Delete Oliver System Prompts; defaults to whether you hold that permission. |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
204 | Done. | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | in_use | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
| コード | ステータス |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
in_use | 409 |
precondition_failed | 412 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |