Skip to content

Changes a category

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

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

type*
Typestring
Required
Pattern"\\w+"
id*
Typestring
Required
Pattern"[1-9][0-9]*"

Request Body

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

Responses

Success

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python