put https://api.gusto-demo.com/v1/departments//add
Add employees and contractors to a department
scope: departments:write
Responses
404Not Found
The requested resource does not exist. Make sure the provided ID/UUID is valid.
Add employees and contractors to a department
scope: departments:write
404Not Found
The requested resource does not exist. Make sure the provided ID/UUID is valid.
xxxxxxxxxx
curl --request PUT \
--url https://api.gusto-demo.com/v1/departments/department_uuid/add \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
16{
"uuid": "56260b3d-c375-415c-b77a-75d99f717193",
"company_uuid": "7087a288-8349-4632-b92e-bc94fb79f29e",
"title": "Stage Hand",
"version": "d90440dd464601d1c8f4e9e240dfb7a6",
"employees": [
{
"uuid": "41199375-a999-4414-9f40-d9bf596b134d"
}
],
"contractors": [
{
"uuid": "3488549f-60e4-494f-a34a-9d8aad3aabf5"
}
]
}