curl --request PUT \
--url http://localhost:3000/v1/scheduling/deputy/staff/{staffId}/operational-units \
--header 'Content-Type: application/json' \
--data '
{
"operational_units": [
"<string>"
]
}
'{
"success": true,
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"previous_units": [
"<string>"
],
"new_units": [
"<string>"
],
"deputy_updates": [
"<unknown>"
],
"error": "<string>"
}Updates a staff member’s operational units and pushes to Deputy.
curl --request PUT \
--url http://localhost:3000/v1/scheduling/deputy/staff/{staffId}/operational-units \
--header 'Content-Type: application/json' \
--data '
{
"operational_units": [
"<string>"
]
}
'{
"success": true,
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"previous_units": [
"<string>"
],
"new_units": [
"<string>"
],
"deputy_updates": [
"<unknown>"
],
"error": "<string>"
}