departments (usersService)
Get department by id
Get department by id
get/company/v1/departments/{departmentId}
Request
- Base URLhttps://{domain}.uspacy.ua
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"id": 1,
"description": "Test department",
"name": "Frontend department",
"roles": [
"OWNER",
"Employee",
"ADMIN"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.