Skip to content

Delete

The Delete API endpoint removes a content item by its unique identifier.


Endpoint

DELETE /api/v1/{content_type}/{id}

Path Parameters

Parameter Description
content_type The route identifier of the requested content type
id The unique identifier of the item to delete

Response Structure

A typical response includes

{
    "message": "Successfully deleted Content Type.",
    "payload": []
}

Notes

  • Deletion behaviour may be soft or hard delete depending on system configuration.
  • If soft deletes are enabled, the item may still exist in the database with a deleted_at timestamp.
  • The payload is returned as an empty array by default.
  • Attempting to delete a non-existent item may return an error response depending on configuration.