Postly
  1. Posts
Postly
  • Overview
  • Workspaces
    • Fetch workspaces
      GET
  • Social Accounts
    • Fetch social accounts
      GET
  • Files
    • Upload a file
      POST
    • Fetch files
      GET
    • Delete a file
      DELETE
  • Posts
    • Create a post
      POST
    • Update a post
      PUT
    • Fetch a post
      GET
    • Fetch posts
      GET
    • Delete a post
      DELETE
  1. Posts

Delete a post

DELETE
/posts/{postId}
Permanently removes the specified post from the system.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.postly.ai/v2/posts/683594f9d6bb51f6b3000000' \
--header 'X-API-KEY;'
Response Response Example
200 - Example 1
{
    "code": "string",
    "message": "string"
}

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Path Params
postId
string 
required
24-character hexadecimal identifier of the post to delete
Example:
683594f9d6bb51f6b3000000

Responses

🟢200Success
application/json
Body
code
string 
required
200
message
string 
required
Post deleted successfully
🟠400BadRequestResponse
🟠401UnAuthorizedResponse
Modified at 2025-05-30 00:03:57
Previous
Fetch posts
Built with