Skip to main content

Remove Invitation To Event

This endpoint allows the manager to remove one or more invitations to attend an event that were previously sent to some users.

info

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

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathintegertrueA unique integer value identifying this event
usersbodylist(integer)trueList of id of User to remove invitation

Example Request

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

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone