DELETE /api/v1/events/{id}/image
Deletes the cover image for an event. The image is removed from Cloudflare R2 storage and the event's image_url is cleared.
Authentication​
Required. User must be the event Creator or an Admin.
Request​
| Parameter | Type | In | Description |
|---|---|---|---|
id | int64 | path | Required. Numeric event ID |
Example​
curl -X DELETE "https://api.intotes.com/api/v1/events/1/image" \
-H "Authorization: Bearer <access_token>"
Response​
200 OK​
{}
403 Forbidden​
{
"error": "insufficient permissions"
}
404 Not Found​
{
"error": "event not found"
}