Skip to main content

Delete an Oliver agent.

DELETE/api/v1/oliver-agents/{oliver_agent_id}oliver:write

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.

Scopeoliver:write (sensitive)
AsynchronousNo
MCP tooldelete_oliver_agent
Portal permissionsdelete_oliver_agent_configs

Parameters​

NameInTypeRequiredDescription
oliver_agent_idpathstringRequired
delete_orphaned_promptqueryboolean or nullOptionalAlso 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-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Responses​

StatusDescriptionBody
204Done.
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409in_useapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.