Swagger Petstore - OpenAPI 3.0
DELETE/conversations/{conversation_id}/items/{item_id}

Delete a conversation item

Removes a specific item from a conversation. The item is permanently deleted and cannot be recovered.

2 parameters
conversation_idstringrequired
The unique identifier of the conversation containing the item.
item_idstringrequired
The unique identifier of the item to delete.

2 status codes
200Returns the conversation object confirming the item was deleted.
idstringrequired
The unique ID of the conversation.
objectstringrequired
The object type, which is always `conversation`.
Allowed:conversationDefault:conversation
metadataunknownrequired
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
created_atintegerrequired
The time at which the conversation was created, measured in seconds since the Unix epoch.
429Returned when the request rate limit is exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request rate limit is exceeded. Both conversation_id and item_id must identify existing resources.