Path Parameters
idinteger required
The unique identifier of the campaign to delete
Response
messagestring
Confirmation message indicating the campaign was deleted successfully
Error Responses
404 Not Found Error Response messagestring
Error message when the campaign is not found or doesn’t belong to the authenticated user
200 Success Response
404 Not Found
Notes
- Only campaigns that belong to the authenticated user can be deleted
- Running campaigns are stopped automatically before deletion
- All leads attached to the campaign are removed
- Phone number assignments on the campaign are released

