Conversations

Delete an item

Delete an item from a conversation with the given IDs.

delete/conversations/{conversation_id}/items/{item_id}

Path parameters

conversation_idstring required
Example:conv_123

The ID of the conversation that contains the item.

item_idstring required
Example:msg_abc

The ID of the item to delete.

Response

OK

idstring required

The unique ID of the conversation.

object'conversation' required

The object type, which is always conversation.

{"stackTrail":"components:schemas:ConversationResource:properties:metadata","oasType":"schema","type":"unknown","description":"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.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters."}
created_atinteger required

The time at which the conversation was created, measured in seconds since the Unix epoch.

Changes

Changed in 4 of the 163 revisions of this API.6

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog