Skip to content

Delete

ids is always an array, even for a single record. By default this is a soft-delete: the record stops appearing in normal listings and searches (it simply is not in the results, the same as one that does not exist), but nothing is actually gone from the database. Listing it again requires withTrashed or onlyTrashed — see Search — which is itself gated behind the delete permission, not the read one. Each entry reports its own status — one record you don’t have delete on never blocks the others in the same request.

To undo this, see Restore.

POST /blog-posts/delete
Authorization: Bearer <token>
Content-Type: application/json

{
  "ids": [
    "cxmpl00000000000000000016"
  ]
}