Delete chat
POST
http://localhost:3000/graphqlMutation
mutation DeleteChat($chatId: Float!) {
deleteChat(chat_id: $chatId) {
status
message
}
}
Variables
{
"chatId": 4
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"deleteChat": {
"status": "success",
"message": "Chat deleted successfully"
}
}
}
Last modified: 2 months ago