POST
/
api
/
departments

Authorizations

Authorization
string
headerrequired

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

Path Parameters

departmentId
string
required

The ID of the department

Body

application/json
name
string
required

The name of the department

color
string
required

The color code of the department

Response

200 - application/json
message
string
required