Posts

Delete a post

Soft-deletes the post — the same deletion the dashboard performs. Already-published posts stay live on the platform.

delete/posts/{id}

Request

  • Base URL: https://www.sociahive.com/api/v1
  • URL: https://www.sociahive.com/api/v1/posts/{id}
  • Auth: one of:
    • API key in header X-API-Key
    • OAuth 2 (authorization code, authorization URL /api/oauth/authorize, token URL /api/oauth/token, scopes: posts:write)

Path parameters

idstring required

MongoDB ObjectId (24-character hex string)

Example:507f1f77bcf86cd799439011

Response

Post deleted

Example response

{
  "data": {
    "id": "507f1f77bcf86cd799439011"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.