Draft delete
DELETE
/draft/deleteThis endpoint will Delete Draft Post
Request
Header Params
x-api-key
string
required
required parameter to identify the api Getway
Default:
yFxaTyRTiH7YBUYeYiEeCYBMRGZA8wk5fsCJxVy1
Body Params application/json
draftIds
array[string]
required
draft ids selected by user (draft Posts)
Example
{
"draftIds": [
"71615382-c35e-46a4-b0af-c9b41de4eef2"
]
}
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Draft(s) Deleted Successfully
Data Schema
message
string
optional
Draft(s) Deleted Successfully
Example
{
"message": "Draft(s) Deleted Successfully"
}
Last modified: 18 days ago