curl --request PATCH \
--url http://localhost:3000/v1/staff/{id} \
--header 'Content-Type: application/json' \
--data '
{
"role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operational_units": [
"<string>"
]
}
'{
"success": true,
"staff": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>",
"role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operational_units": [
"<string>"
],
"role": "<string>",
"role_description": "<string>"
}
}Update staff role and operational units
curl --request PATCH \
--url http://localhost:3000/v1/staff/{id} \
--header 'Content-Type: application/json' \
--data '
{
"role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operational_units": [
"<string>"
]
}
'{
"success": true,
"staff": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>",
"role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operational_units": [
"<string>"
],
"role": "<string>",
"role_description": "<string>"
}
}