Remove objects from a channel
Remove a list of assigned objects from a channel.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
DELETE https://api-{region}.seatsio.net/events/{eventKey}/channels/{channelKey}/objects
$this->seatsioClient->events->channels->removeObjects(
$event->key, // the event key
"channelKey1", // the channel key
["A-1", "A-2"] // the channel objects to remove
);
await Client.Events.Channels.RemoveObjectsAsync(
event1.Key, // the event key
"channelKey1", // the channel key
new[] {"A-1", "A-2"} // the channel objects to remove
);
client.events.channels.removeObjects(
event.key, // the event key
"channelKey1", // the channel key
Set.of("A-1", "A-2") // the channel objects to remove
);
client.events.channels.remove_objects(
event.key, # the event key
'channelKey1', # the channel key
['A-1', 'A-2'] # the channel objects to remove
)
client.events.channels.remove_objects event_key: event.key,
channel_key: "channelKey1",
objects: ['A-1', 'A-2']
await client.events.channels.removeObjects(
event.key, // the event key
'channelKey1', // the channel key
['A-1', 'A-2'] // the channel objects to remove
)
err = client.Channels.RemoveObjects(
event.Key, // the event key
"channelKey1", // the channel key
[]string{"A-1", "A-2"}, // the channel objects to remove
)
Example request body
{
"objects": ["A-1", "A-2"]
}
The request body should be a JSON object with these properties:
objects
: the object labels of the objects that need to be removed from this channel. Objects that were previously assigned to this channel and are not in this list, will remain assigned to this channel.
Response
204 - No Content