Deletes Message
Developing
DELETE
/inbox/message
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
messageId
string
required
Example
{
"messageId": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://22.do/api/v2/inbox/message' \
--header 'Content-Type: application/json' \
--data-raw '{
"messageId": "string"
}'
Responses
🟢200Success
application/json
Body
code
integer
required
status
boolean
required
msg
string
required
Example
{"code":200,"status":true,"msg":"Message deleted successfully"}