Skip to main content
PATCH
Update unit

Authorizations

Authorization
string
header
required

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

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
unit
integer
required

Query Parameters

include
enum<string>
Available options:
assignment_records,
assignment_records.*,
image,
groups,
groups.*,
users,
users.*

Body

application/json
name
string
required
description
string | null

Supports HTML.

order
integer

Will be auto-calculated if nothing is provided.

hidden
boolean
default:false
icon
string | null

A valid Heroicon.

Response

OK

data
UnitResource · object