Posts
Batch delete posts
Changed onDeletes multiple posts by their UUIDs in a single request.
delete/api/v1/posts/batch
Request
- Base URLhttps://postal.nesohq.org
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"uuids": [
"d290f1ee-6c54-4b01-90e6-d701748f0851",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Response
Posts deleted successfully
Example response
{
"status": true,
"message": "Posts deleted successfully",
"data": {
"deleted_count": 2
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking