Resource information
URL | https://api.softnetsport.com/v2/booked-events/{event_id} |
---|---|
XSD | |
Method | DELETE |
Description | Delete reservations for event in product for user from token |
Authorization required | Yes |
Method parameters
Name | Data type | Description |
---|---|---|
event_id | xsd:int | REQUIRED. The requested event identifier of previously booked event. The complete list of previously booked event can be retrieved using the API resource: booked-events.index |
Parameters
Name | Data type | Description |
---|---|---|
product | xsd:string | REQUIRED. The requested product name identifier
|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
Output elements
.data | |
---|---|
message | Response info message. |
status | Response code. |
Sample curl call
Request | Parameters |
---|---|
curl -XDELETE 'https://api.softnetsport.com/v2/booked-events/{event_id}?token=token&product=product' | token, event_id, product |