Permanently delete a response and all its output items.
Parameters
id: str
Returns
Delete a response
import os
from tzafon import Lightcone
client = Lightcone(
api_key=os.environ.get("TZAFON_API_KEY"), # This is the default and can be omitted
)
response = client.responses.delete(
"id",
)
print(response.id){
"id": "id",
"deleted": true,
"object": "object"
}Returns Examples
{
"id": "id",
"deleted": true,
"object": "object"
}