Skip to main content
POST
/
admin
/
category
/
children
/
remove
Removes the child(ren) categories from a given category.
curl --request POST \
  --url https://api.example.com/admin/category/children/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "forThisCategoryID": 123,
  "removeTheseCategoryIDs": [
    123
  ]
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
forThisCategoryID
integer<int32>
removeTheseCategoryIDs
integer<int32>[] | null

Response

Success

success
boolean
data
unknown