Skip to main content
DELETE
/
categories
/
{categoryId}
Delete Category
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>"
}

Authorizations

X-API-Key
string
header
required

API key for authenticating requests. Include in X-API-Key header.

Path Parameters

categoryId
string<uuid>
required

Category identifier

Response

Category deleted successfully