/api2/liveevents2/delete
Deletes one or more live events from your account.
Request Parameter | Type | Description |
---|---|---|
id | string | the live event's ID |
external_id | string | the live event's external ID |
ids | list | A list of IDs of live events to be deleted. |
external_ids | list | A list of external IDs of live events to be deleted. |
You must specify either id, external_id, ids, or external_ids.
Response Parameter | Type | Description |
---|---|---|
deleted | list | A list of live events that were deleted. Each item in the list contains id and external_id members. |
Sample request/response:
The Call() function, which is imported from uplynk_api2_auth module, prepares the message body and digital signature.
from uplynk_api2_auth import Call
print(Call('/api2/liveevents2/delete', external_ids=['event10115', 'challenge_s01e03']))
{
"deleted": [
{
"external_id": "challenge_s01e03",
"id": "54e40044a5f84050a483a5ce91cedab1"
},
{
"external_id": "event10115",
"id": "9c4e00aab263489aa7fd275a0c5cc478"
}
],
"error": 0
}