departments (usersService)
Create department.
Create department.
post/company/v1/departments
Request
- Base URLhttps://{domain}.uspacy.ua
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Frontend department",
"description": "example"
}Response
OK
Example response
{
"id": 1,
"description": "Test department",
"name": "Frontend department"
}Changes
No recorded changes to this operation across all 2 revisions of this API.