Skip to main content

DELETE /dispositions/{disposition_id}

Permanently deletes a disposition. This also removes the disposition’s link to any agents it was associated with.
Deletion is permanent and cannot be undone. Historical call execution results that already contain this disposition’s output are not affected — only future calls will stop evaluating it.

Path Parameters

ParameterTypeRequiredDescription
disposition_idUUIDYesThe ID of the disposition to delete

Authorization

  • Regular users can only delete dispositions they own (created_by matches their user ID).
  • Admins can delete any disposition.

Response

200 OK
{
  "message": "Disposition deleted successfully",
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Example

curl --request DELETE \
  --url 'https://api.bolna.dev/dispositions/{disposition_id}' \
  --header 'Authorization: Bearer {api_key}'

Error Responses

StatusDescription
403Access denied — you do not own this disposition
404Disposition not found
500Internal server error