Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Category
GET
POST
PUT
DELETE
Products
GET
POST
PUT
DELETE
Carts
GET
POST
PATCH
DELETE
Variations
GET
POST
PUT
DELETE
Currency
GET
POST
PUT
DELETE
Tax
Tax Profile
GET
POST
PUT
DELETE
Tax Rule
GET
POST
PUT
DELETE
Tax Code
GET
POST
PUT
DELETE
Tax Zone
GET
POST
PUT
DELETE
Discount
GET
POST
PUT
DELETE
Shipping
Shipping Profile
GET
POST
PUT
DELETE
Shipping Rate
GET
POST
PUT
DELETE
Shipping Rules
GET
POST
PUT
DELETE
Customer
GET
POST
PUT
DELETE
Orders
GET
POST
PATCH
Blog
GET
POST
PUT
DELETE
Settings
GET
» Blog DELETE API Documentation

Deleting Blog Categories

Endpoint: DELETE /admin/blog_categories/{blog_id}

Purpose

This API allows administrators to delete a specific blog entry by its unique ID. It is used when a blog is no longer needed and should be permanently removed from the system.

Path Parameters

ParameterTypeDescription
blog_idIntegerThe unique ID of the blog post

Query Parameters

No query parameters for this endpoint.

Use Case

When an administrator wants to remove a blog entry entirely (e.g., it's outdated, incorrect, or no longer relevant), this endpoint is used to delete the blog from the system.

Request Body

This endpoint does not require a request body.

Response

A successful request returns a 204 No Content response, indicating that the blog has been successfully deleted. No response body is returned.

DELETE
https://{your_site_domain}/api/v4/admin/blogs/{blog_id}
Try It Out

Deleting Blog Category

Endpoint: DELETE /admin/blogs/categories/{category_id}

Purpose

This API allows administrators to delete a specific blog category by its unique identifier. It is used when a category is no longer needed or should be removed for clarity or restructuring of blog content.

Path Parameters

ParameterTypeDescription
category_idStringUnique ID of the blog category.

Query Parameters

No query parameters for this endpoint.

Use Case

Administrators use this endpoint to permanently remove a blog category from the system. This helps keep the blog category list clean and relevant, especially when consolidating or removing unused categories.

Request Body

No request body is needed for this operation.

Response

A successful request returns a 204 No Content response, indicating that the blog category has been successfully deleted. No response body is returned.

DELETE
https://{your_site_domain}/api/v4/admin/blog_categories/{category_id}
Try It Out
Terms and Conditions
Privacy Policy

© 2024 WebCommander | All Rights Reserved

contact@webcommander.com
1300 797 571

WebCommander
About Us
Features
Pricing
Compare
Partners
Contact Us
Resource
Find a Partner
Help Centre
Community
Blog
Solutions
Inventory Management
Omnichannel Sales
Ecommerce Automation
B2B Ecommerce
Headless Commerce
Website Design and Performance