Unregister from an event as an applicant
Unregister from an event as an applicant
The /events/{eventId}/unregister API endpoint allows an applicant to unregister from an event. In other words, the applicant revokes his confirmation of an events timeslot.
By sending the following POST-request, you can unregister from 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}/unregister" |
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 unregister from.
Path parameters
Name | Description |
eventId | The ID of the event you want to unregister from. |
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.