Delete Activity
DELETE
DELETE
https://api.atzcrm.com/v1/activity/:idDelete an existing activity by its numeric ID. This permanently removes the activity along with all its attendees and associated files.
Request
DELETE
DELETE /v1/activity/:id
Path Parameter
- id
integerThe numeric ID of the activity to delete.
Headers
- Authorization: Bearer your_access_token
Response
200
Body
- message
stringActivity deleted successfully
400
Body
- Invalid activity ID
401
Body
- Unauthorized
404
Body
- Activity not found
Response Example
{
"message": "Activity deleted successfully"
}