Skip to main content
PATCH
Update department (partial)

Authorizations

X-API-Key
string
header
default:your_tyms_sk_or_partner_key
required

Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.

Path Parameters

uuid
string
required

Department uuid.

Body

application/json
name
string
required

Department name.

branch_uuid
string | null

Optional parent branch uuid.

Response

Department updated

status
string
required
Example:

"success"

message
string
required
data
any

Single resource, array of resources, statement sections, or async job metadata — see each operation's example.

meta
object

Pagination (page, limit, total) and/or report range (from, to). Cash flow may include previous_period_end.