DELETE /admin-api/categories/{categoryId}/cover

Details

Steps

Step Description Expected result
In BO, Go to Advanced Parameters > Authorization Server Authorization Server Page is displayed correctly.
No records found in the table
Click on the button “Add new API access” New API access Page is displayed correctly
* Fill the form with following data
* Click on “Generate client secret & Save” button
* The message “The API access and Client secret has been generated sucessfully” is displayed
* The message “Client secret: " is displayed
In BO, Go to Catalog > Categories page Categories Page is displayed correctly.
Default records found in the table
Reset all filters Filters are reset
Total categories = Number of Categories
Click on “Add new Categories” button The “New category” page is displayed
Fill the fields > Click on “Save” The category is well created and a green alert “Successful creation” is displayed
Filter by name of the created category & Fetch its ID as {categoryId} 1 record found
Click on the Edit button The Edit Category page is displayed

The cover image is present
Request with method DELETE the endpoint “https://[url of your shop]/admin-api/categories/{categoryId}/cover” The HTTP code is 204.
Reload the Edit Category page The Edit Category page is displayed

The cover image is not present
In BO, Go to Catalog > Categories page Categories Page is displayed correctly.
Default records found in the table
Filter by name of the created category & Fetch its ID as {categoryId} 1 record found
Click on the three dots on the first row 

Click on the delete button

Confirm the deletion
The message “Successful deletion” is displayed.

0 record found
Reset all filters Filters are reset
Total categories = Number of Categories
In BO, Go to Advanced Parameters > Authorization Server Authorization Server Page is displayed correctly.
1 record found in the table
On the first row, click on the button “Three points” The dropdown is displayed
Click on the Delete Button in the dropdown A modal appeared
Click on the Confirm Button in the modal The message “Successful deletion” is displayed
No records found in the table