Bulk Delete Webcasts
This endpoint deletes all events for a given date range or custom field. The response returns a job id and a count of webcasts to be deleted. Use the job id to check the status of the deletion. At least one query parameter should be passed (startDate, endDate, customFields) or a Bad Request error is returned.
Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| startDate | string |
YYYY-MM-DD of the start date to begin the bulk delete. startDate should always be less than or equal to the endDate or a Bad Request is returned. If StartDate is not specified but EndDate is, StartDate assumes a value of EndDate – 365. |
Yes, if endDate and/or customFields not used |
| endDate | string |
YYYY-MM-DD of the end date to stop the bulk delete. The maximum date range that can be set is 365 days. If StartDate is specified but EndDate is not, EndDate assumes a value of TODAY. If StartDate and EndDate are not specified, EndDate assumes a value of TODAY, StartDate = EndDate – 365. |
Yes, if startDate and/or customFields not used |
| customFields | [array(of customFields)] |
|
Yes, if startDate and/or endDate not used |
Example Request
{
"startDate": "2021-02-01T20:30:58.201Z",
"endDate": "2021-02-01T20:30:58.202Z",
"customFields": [
{
"name": "string",
"value": "string"
}
]
}
Example Response
{
"jobId": "string",
"count": 0,
"statusUrl": "string"
}
Response Codes
| Code | Description |
|---|---|
| 200 | Successful response |
| 401 | Unauthorized error |
| 500 | Internal server error |