Cancel an event
This endpoint is deprecated. Please do not use it for new projects. The documentation remains here for legacy API consumers.
Cancel an event
The /events/{eventId}/cancel API endpoint allows an applicant to cancel a given event he was invited to.
By sending the following POST-request, you can cancel an event.
1 2 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST "https://api.softgarden.io/api/rest/v2/frontend/events/{eventId}/cancel" |
with TOKEN being the user access token of the user in question. It is used to determine the validity of this request. And {eventId} is the required ID of the event you want to cancel.
Path parameters
Name | Description |
eventId | The ID of the event you want to cancel. |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |
You won’t get any feedback if your request succeeds.