Skip to main content

Deleting Logs

The DELETE /v3/telesign endpoint is used to delete TeleSign logs before their auto-deletion dates.

DELETE /v3/telesign?fromDate=2020-01-01&toDate=2024-01-01
Authorization: Basic ${ base64(apiKey + ':' + secretKey) }
ParameterRequiredDescription
fromDateNoA date in 'yyyy-MM-dd' format of which all TeleSign sessions initialized after will be deleted.
toDateNoA date in 'yyyy-MM-dd' format of which all TeleSign sessions initialized before will be deleted.

Omitting both fromDate and toDate parameters will result in ALL TeleSign logs being deleted. If both are given, fromDate must be before toDate, or the response is a 400.

Response example:​

HTTP/2.0 204 No Content
""

To delete a log with a specific ID, the following can be used:

DELETE /v3/telesign/{id}
Authorization: Basic ${ base64(apiKey + ':' + secretKey) }