Delete an agent profile
POST/api/v1/agent-profiles/delete
Deletes the profile from the current library without checking whether conversations still reference it. Resolve dependent conversations before deletion.
- If it was the project's
defaultProfileId, that pointer is cleared. - Direct sends on conversations still naming it in
activeProfileIdfail withACTIVE_PROFILE_NOT_FOUND. Select an enabled replacement or restore the profile. A disabled replacement fails withACTIVE_PROFILE_DISABLED. Queued messages can fall back to defaults and log the problem; see unusable profiles. - Historical version records remain. Their retention does not prove that every dependent turn remains reproducible.
Request
Responses
- 200
Profile deleted
Document ID: DOC-MA-profiles-prompts-api-deleteAgentProfile. Section identities and revisions.
| Section | Stable reference |
|---|---|
| Overview | DOC-MA-profiles-prompts-api-deleteAgentProfile#overview |
| Request | DOC-MA-profiles-prompts-api-deleteAgentProfile#request |
| Responses | DOC-MA-profiles-prompts-api-deleteAgentProfile#responses |