posts

Delete a post by slug

Changed on

Permanently delete a post using its URL slug. The publication is identified by the API key provided in the Authorization header.

Warning: This action is irreversible. The post and all related data (notifications and drafts) will be permanently deleted.

delete/v1/posts/slug/{slug}

Request

  • Base URL
    https://public.api.paragraph.com/api
  • URL
    https://public.api.paragraph.com/api/v1/posts/slug/{slug}
  • Auth
    HTTP bearer

Path parameters

slugstring required

URL-friendly identifier of the post to delete

Request body

object required

Response

Post deleted successfully

successtrue required

Whether the deletion succeeded

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      endpoint added