How to delete Category by REST API magento 2?

You can delete a category with REST API in Magento 2 with rest/V1/categories/:categoryId

Action: DELETE

URL: <WEBSITE_URL>/rest/V1/categories/:categoryId
(Example: https://magento245.test/rest/default/rest/V1/categories/10)