Events
Delete Event Comment
Deletes a comment previously posted by the authenticated customer on an event.
POST
Delete Event Comment
Delete Event Comment
Removes a comment that the authenticated customer posted on an event. After a successful deletion the event detail data should be refetched to update theEvent.Comments array.
This endpoint uses the
/en/ legacy route prefix and the POST method rather than DELETE, despite being a deletion operation.Authentication
Requires a valid customer bearer token. Customers can only delete their own comments.Request Body
The integer ID of the comment to delete. Obtained as
Event.Comments[].Id from GET /api/public/events/{id}.Response
Returns an empty200 OK on success.
Examples
Delete a comment
TypeScript Integration
Usage in Portal
Error Responses
The customer is not authenticated or the session has expired.
No comment with the specified
id exists or it does not belong to the authenticated customer.Related Endpoints
Delete Event Comment