Blogs

Delete a blog article

Changed on

Deletes the article. The delete happens on the platform and is permanent; Zernio stores nothing to restore it from. On WordPress the post is force-deleted, while uploaded attachments and tags remain in the site's media library and taxonomy. On Webflow the item is unpublished from the live site, then deleted from the collection.

Supported on Shopify (shopify), WordPress (wordpress), Wix (wix) and Webflow (webflow).

delete/v1/accounts/{accountId}/blogs/{blogId}/articles/{articleId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/blogs/{blogId}/articles/{articleId}
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Connected Shopify, WordPress, Wix or Webflow account id.

blogIdstring required

Platform-native blog/site id returned by the list operation.

articleIdstring required

Platform-native article id: numeric on Shopify and WordPress, a GUID on Wix, a 24-character hex item id on Webflow. Other formats return 400.

Response

Article deleted (no content).

Changes

    • warning

      changed the pattern of the path request parameter articleId from ^\d+$ to ^[A-Za-z0-9_-]{1,64}$

    • warning

      changed the pattern of the path request parameter blogId from ^\d+$ to ^[A-Za-z0-9_-]{1,64}$

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status