Remove event from partial season
This call removes an event from a partial season. The event is not deleted from the top-level season.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
DELETE https://api-{region}.seatsio.net/seasons/{topLevelSeasonKey}/partial-seasons/{partialSeasonKey}/events/{eventKey}
$seatsioClient->seasons->removeEventFromPartialSeason("aTopLevelSeason", "aPartialSeason", "event1");
await Client.Seasons.RemoveEventFromPartialSeasonAsync("aTopLevelSeason", "aPartialSeason", "event1");
client.seasons.removeEventFromPartialSeason("aTopLevelSeason", "aPartialSeason", "event1");
client.seasons.remove_event_from_partial_season("aTopLevelSeason", "aPartialSeason", "event1")
client.seasons.remove_event_from_partial_season topLevelSeasonKey: "aTopLevelSeason", partialSeasonKey: "aPartialSeason", event_key: "event1"
await client.seasons.removeEventFromPartialSeason('aTopLevelSeason', 'aPartialSeason', 'event1');
updatedSeason, err := client.Seasons.RemoveEventFromPartialSeason("aTopLevelSeason", "aPartialSeason", "event1")
curl https://api-{region}.seatsio.net/seasons/aTopLevelSeason/partial-seasons/aPartialSeason/events/event1 \
-u aSecretKey: -X DELETE -H 'Content-Type: application/json'
Response
{
"id": 169,
"eventKey": "aPartialSeason",
"tableBookingConfig": {
"mode": "CUSTOM",
"tables": { "T1": "BY_TABLE", "T2": "BY_SEAT" }
},
"supportsBestAvailable": true,
"createdOn": "2017-05-05T10:58:44.715Z",
"isSeason": true,
"isTopLevelSeason": false,
"isPartialSeason": true,
"isEventInSeason": false,
"topLevelSeasonKey": "aSeason",
"events": [
{
"id": 171,
"key": "event2",
...
},
...
]
}