Skip to main content
PATCH
/
v1
/
servers
/
{serverId}
/
categories
/
positions
Reorder categories
curl --request PATCH \
  --url https://api.magne.app/v1/servers/{serverId}/categories/positions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "categoryIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

serverId
string<uuid>
required

Body

application/json
categoryIds
string<uuid>[]
required

Response

Success