Resource categories
Delete the specified category
Changed onDelete the specified category.
delete/resource-categories/{id}/
Request
- Base URLhttps://example.com/api
- Auth
- OAuth 2Authorization codehttps://example.com/oauth2/authorizeToken URLhttps://example.com/api/oauth2/tokenScopesresource_category:delete
- or API key in header XF-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
delete_childrenboolean
If true, child nodes will be deleted. Otherwise, they will be connected to this node's parent.
Response
OK
Changes
- breaking
the
response's property type changed fromstringtobooleanfor status - warning
deleted the
pathrequest parameterid - info
api operation id
delete_resource_categories_id_removed and replaced withdeleteResourceCategoriesId - info
the endpoint scheme security
XF-Api-Keywas added to the API - info
the endpoint scheme security
XF-OAuth2was added to the API - info
added the new optional
headerrequest parameterXF-Api-Userto all path's operations - info
added the new optional
queryrequest parameterapi_bypass_permissionsto all path's operations
- breaking
- info
api tag
Resource categoriesadded - info
api tag
resource-categoriesremoved
- info