Skip to main content
POST
Create unit

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Example:

"Hour"

Response

Unit created successfully

success
boolean
Example:

true

message
string
Example:

"Unit created successfully"

data
object