cURL
curl --request DELETE \ --url https://api.g2cplatform.com/v2/categories/{categoryId} \ --header 'X-API-Key: <api-key>'
{ "error": "<string>", "timestamp": "2023-11-07T05:31:56Z", "code": "RESOURCE_NOT_FOUND", "path": "<string>", "requestId": "<string>" }
Delete a category (soft delete)
API key for authenticating requests. Include in X-API-Key header.
Category identifier
Category deleted successfully