Update Company Department

Update company department.
Returned data contains updated department.
Manager is ID of company employee. Department doesn't need to have manager and you can null. In case that Manager ID is not in data we will remove Manager ID from entity.
This endpoint can be called only by System and Admin level users.

Employee call will return Forbidden result even for Employee own company.

Path Params
int32
required

Company Id

int32
required
Body Params
string | null
required

Name.

string | null

Phone.

string | null
≥ 0

Phone Ext.

int32 | null

Manager Id.

Headers
string
Defaults to 1.0

The requested API version

string
Defaults to 1.0

The requested API version

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
jwt
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
text/plain