Update a category

This endpoint updates a category.

ℹ️

This endpoint requires the following scope: categories:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the category

Body Params
string
string
enum

Only applicable for treasury categories

Allowed:
string | null

Cannot be changed when the kind of the category group is structured_analytical.

int64

The ID of the ledger account to wire this category to. Only valid for categories belonging to a category group with self-service accounting enabled; rejected otherwise. Bank, pending, and, when applicable, cash accounts cannot be used as transaction counterparts. Archived ledger accounts cannot be used. Omit the field to leave the current ledger account unchanged. Self-service accounting categories must always have a ledger account, so it cannot be cleared.

Headers
string

Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.

Responses

414

URI Too Long: the request URL exceeds the maximum length. Shorten the query string, for example by sending fewer values per query parameter and splitting them across several requests.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json