dambel

دمبل

shevron
ورود | ثبت نام

API Docs / ai / threads / messages / delete



DELETE /api/v1/ai/threads/{thread-id}/messages/{message-id}

Deletes a specific message from an AI thread. Any message after the specified message will also be deleted, as messages are chained.


Permissions

PermissionDescription
ai_thread_messages.deleteDelete your own thread messages

URL Parameters

NameTypeRequiredDescriptionExample
thread-idintYesID of the thread123
message-idintYesID of the message to delete456

Request Example

DELETE /api/v1/ai/threads/123/messages/456
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the message (and subsequent messages) are successfully deleted.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube