Delete agent profile
DELETE /api/agent-profiles/{name}
Delete a profile (idempotent). Clears every org member's pointer to it. A missing name resolves 200, matching the ts-client AgentProfilesClient contract and the local agent-server delete_profile (canvas's delete mutation has no 404 branch).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | yes | — |
org_id | query | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | — |
message | string | yes | — |
Operation ID: delete_agent_profile_api_agent_profiles__name__delete