departments (usersService)
Delete users from department
Delete users from department by ids.
patch/company/v1/departments/{departmentId}/deleteUsers
Request
- Base URLhttps://{domain}.uspacy.ua
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
departmentIdstring required
Department id
Request body
string[] required
Example request
[ "1", "2" ]
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.