Skip to main content

Update a category position in the categories tree

Update a category position in the categories tree.

Authorizations:Token, JWT
Query Parameters
category_id
required
integer
Request Body Schema:
The updated Category resource
parentinteger or null
positioninteger

Responses

200Category resource updated
Response schema:
Category resource updated
og_meta_tagsstring
idinteger
enabledboolean
show_titleboolean
positioninteger
membershipsArray of objects
Array
idinteger
namestring
enabledboolean
parentinteger or null
clean_urlstring
namestring
descriptionstring
meta_tagsstring
meta_descriptionstring
meta_titlestring
iconobject or null
  • object
idinteger
altstring
urlstring
widthinteger
heightinteger
bannerobject or null
  • object
idinteger
altstring
urlstring
widthinteger
heightinteger
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
404Resource not found
Response schema:
Resource not found
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null