Skip to main content

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

NameInTypeRequiredDescription
namepathstringyes
org_idquery`stringnull`no

Responses

StatusDescription
200Successful Response
422Validation Error

Response body

FieldTypeRequiredDescription
namestringyes
messagestringyes

Operation ID: delete_agent_profile_api_agent_profiles__name__delete