Skip to content

Changes a category​

PATCH
/api/categories/{type}/{id}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

type*
Type
string
Required
Pattern
"\\w+"
id*
Type
integer
Required
Minimum
1

Request Body​

application/json
JSON
{
  
"id": 0,
  
"name": "",
  
"subType": null
}

Responses​

Success

Playground​

Authorization
Variables
Key
Value
Body

Samples​