# Delete a Product Category The method allows you to delete a product category Endpoint: DELETE /v1/goods_categories/{location_id}/{category_id} Version: 1.0.1 Security: user, bearer ## Path parameters: - `location_id` (number, required) Location ID - `category_id` (number, required) Product category ID ## Header parameters: - `Accept` (string, required) e.g. application/vnd.api.v2+json - `Content-Type` (string, required) application/json - `Authorization` (string, required) Bearer partner_token, User user_token ## Response 401 fields (application/json): - `success` (boolean) Response status. - `data` (object,null) Response data. - `meta` (object) Additional response data. - `meta.message` (string) Error message. Example: "Authentication needed." ## Response 403 fields (application/json): - `success` (boolean) Response status. - `data` (object,null) Response data. - `meta` (object) Additional response data. - `meta.message` (string) Error message. Example: "Access denied." ## Response 404 fields (application/json): - `success` (boolean) Response status. - `data` (object,null) Response data. - `meta` (object,array) Additional response data (empty object or empty array) ## Response 204 fields