Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit ddc565f

Browse files
authored
[ACS-4240] delete category api change (#1484)
1 parent 4286228 commit ddc565f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/content-rest-api/api/categories.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class CategoriesApi extends BaseApi {
216216
const accepts = ['application/json'];
217217

218218
return this.apiClient.callApi(
219-
'/category/{categoryId}', 'DELETE',
219+
'/categories/{categoryId}', 'DELETE',
220220
pathParams, queryParams, headerParams, formParams, postBody,
221221
contentTypes, accepts );
222222
}

src/api/content-rest-api/docs/CategoriesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Method | HTTP request | Description
77
[**getSubcategories**](CategoriesApi.md#getSubcategories) | **GET** /categories/{categoryId}/subcategories | List of subcategories within category
88
[**getCategory**](CategoriesApi.md#getCategory) | **GET** /category/{categoryId} | Get a category
99
[**getCategoryLinksForNode**](CategoriesApi.md#getCategoryLinksForNode) | **GET** /nodes/{nodeId}/category-links | List of categories that node is assigned to
10-
[**deleteCategory**](CategoriesApi.md#deleteCategory) | **DELETE** /category/{categoryId} | Deletes the category
10+
[**deleteCategory**](CategoriesApi.md#deleteCategory) | **DELETE** /categories/{categoryId} | Deletes the category
1111
[**unlinkNodeFromCategory**](CategoriesApi.md#unlinkNodeFromCategory) | **DELETE** /nodes/{nodeId}/category-links/{categoryId} | Unassign a node from category
1212
[**updateCategory**](CategoriesApi.md#updateCategory) | **PUT** /categories/{categoryId} | Update a category
1313
[**createSubcategory**](CategoriesApi.md#createSubcategory) | **POST** /categories/{categoryId}/subcategories | Creates a category

0 commit comments

Comments
 (0)