Skip to main content
PATCH
Update Branch

Authorizations

Authorization
string
header
required

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

Path Parameters

id
number
required

Branch ID

Body

application/json
default

Set as default branch (1 = yes, 0 = no)

Available options:
1
name
string

Branch name

Minimum string length: 3
timezone
string

IANA timezone identifier

Minimum string length: 3

Response

Updated branch

id
number
required

Branch ID

name
string
required

Branch name

default
number
required

Whether this is the default branch (1 = yes, 0 = no)

timezone
string | null
required

IANA timezone identifier

tenant
object | null
required

Parent tenant