Skip to content

Delete subcategory

Request

Security
oauth2ClientCredentials(Required scopes: categories:write)
Path
categoryIdstringrequired
subcategoryIdstringrequired
Headers
org_wallet_refstring

Organization wallet reference, defaults to "1" if not provided

business_idstringrequired

Business identifier for the request

curl -i -X DELETE \
  'https://developer.boyahq.com/_mock/v2/openapi/categories/{categoryId}/subcategories/{subcategoryId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'business_id: string' \
  -H 'org_wallet_ref: string'

Responses

Subcategory deleted successfully