Skip to main content
POST
/
admin
/
category
/
update
Updates the category
curl --request POST \
  --url https://api.example.com/admin/category/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "categoryID": 123,
  "parentCategoryID": 123,
  "languageID": 123,
  "category": "<string>",
  "editions": [
    {
      "editionID": 123,
      "isFeatured": true
    }
  ]
}
'
{
  "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
categoryID
integer<int32>
required
parentCategoryID
integer<int32>
required
languageID
integer<int32>
required
category
string
required
Minimum string length: 1
editions
object[] | null

Response

Success

success
boolean
data
unknown