Skip to main content

Delete Agent

Deletes an agent and all associated resources: Kubernetes deployments, permissions, registry entries, and database records. This action is irreversible.

DELETE /api/v1/registry/agent/{agent_id} — 🔒 Requires Auth

Path Parameters

ParameterDescription
agent_idThe agent's UUID

Examples

curl -X DELETE https://nasiko.dev/api/v1/registry/agent/agent-abc123 \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Response

Status: 200 OK

{
"message": "Agent deleted successfully",
"status_code": 200
}
danger

Deletion removes all Kubernetes deployments, build records, and registry data. There is no undo.