Blogs

Deletes the blog AND every article in it. The delete happens on the platform and is permanent; Zernio stores nothing to restore it from.

Supported on Shopify (platform shopify). Disconnect a WordPress or Wix account instead of deleting its site; both return 405 here.

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

Request

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

Path parameters

accountIdstring required

Connected Shopify SocialAccount id.

blogIdstring required

Platform-native blog id. Shopify blog ids are numeric; other values return 400.

Response

Blog deleted (no content).

Changes

    • 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