Update a staff member

Updates supplied staff fields, addresses, and position changes, then returns the freshly loaded staff resource.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired>=1
Staff member identifier to update.

Request

This endpoint expects an object.
firstnamestringOptional
lastnamestringOptional
emailstringOptionalformat: "email"
genderenumOptional
Allowed values:
positionobjectOptional

Response

The staff member was updated and the refreshed resource was returned.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error