Skip to main content
DELETE
/
v2
/
chat
/
{chatId}
/
message
/
{messageId}
cURL
curl --request DELETE \
  --url https://api.gptmaker.ai/v2/chat/{chatId}/message/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": "This channel allows to delete messages"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatId
string
required

ID do chat

messageId
string
required

ID da mensagem

Response

Mensagem deletada com sucesso

success
boolean

Indica se a operação foi realizada com sucesso

Example:

true

status
string

Mensagem informativa sobre a operação

Example:

"This channel allows to delete messages"