Skip to main content

Delete an Event

This endpoint deletes a specific event identified by {id}.

info

This operation requires authentication and that the user is the manager of the event.

HTTP Request

DELETE /api/v2/event/{id}/

Parameters

NameInTypeRequiredDescription
idpathintegertrueA unique integer value identifying the event

Example Request

const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization: Bearer <token>'
};
fetch('/api/v2/event/{id}/',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});


Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone