Skip to main content
POST
Update a category

Authorizations

Authorization
string
header
required

Authorization: Bearer rbk_live_...

Redbark-Version
string
header
required

The API release your integration is built against, e.g. 2026-10-01.wattle. Required on every request.

Path Parameters

id
string
required

The id of the object.

Example:

"cat_8Mn3Pq5rSt7uVw9xYz1aBc"

Body

application/json
name
string
Required string length: 1 - 60
parent
string
icon
string | null
Maximum string length: 16
color
string | null
Maximum string length: 32
position
integer
Required range: x >= 0
archived
boolean
metadata
object

Up to 50 string pairs. Set a key to null to unset it.

Response

The updated category

id
string
required
Example:

"cat_8Mn3Pq5rSt7uVw9xYz1aBc"

object
enum<string>
required
Available options:
category
name
string
required
parent
string | null
required

null for a group

icon
string | null
required
color
string | null
required
position
integer
required
archived
boolean
required
sources
string[]
required

Provider category codes this category claims

category_count
integer
required

Children, for a group

metadata
object | null
required

Up to 50 string pairs. Set a key to null in an update to unset it.

livemode
boolean
required
created
string<date-time>
required
Example:

"2026-08-21T09:30:00.000Z"

updated
string<date-time>
required
Example:

"2026-08-21T09:30:00.000Z"