Удалить чат по id. Запрос требует авторизации через токен JWT.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request DELETE '/chats/' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"status": "success",
"data": "Chat deleted"
}
Modified at 2024-10-07 13:24:36