Delete a post from social networks

Delete a published post from all remote social network platforms it was published to. The post record is kept in the Outstand database but marked as deleted. Returns per-account results — networks that do not support post deletion via API (TikTok, Instagram, Threads) will appear with status='failed'. At least one successful deletion returns HTTP 200 with success=true.

DELETE/v1/posts/{id}/remote

Path Parameters

idstring

Response Body

fetch("https://api.outstand.so/v1/posts/string/remote", {  method: "DELETE"})
{
  "success": true,
  "results": [
    {
      "network": "x",
      "username": "mycompany",
      "platform_post_id": "1234567890",
      "status": "deleted",
      "error": null
    }
  ]
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}