Skip to main content
PUT
Update unit

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Path Parameters

unitId
string<uuid>
required

The ID of the unit to update

Body

application/json
name
string
required
Example:

"Hour"

Response

Unit updated successfully

success
boolean
Example:

true

message
string
Example:

"Unit updated successfully"

data
object