Update staff
PATCH/partner/v1/staff/:staff_id/
Updates the supplied fields of a staff profile belonging to the authenticated company. Omitted top-level fields remain unchanged. Within name, first_name and last_name are updated independently, and an omitted name field remains unchanged. Set name to null to clear company-specific name overrides. Inactive profiles can also be updated. Returns 404 if the profile does not exist, belongs to another company, or its relationship with the company has been terminated.
Changes to email, phone, or home_location are rejected with 400 when the worker controls their profile or has been invited by another company.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 406
- 415
- 429
- 503
The staff profile after the update.
The request is invalid.
Authentication is required or invalid.
The required scope is missing or the account does not permit this operation.
The resource or cursor was not found.
The HTTP method is not supported.
The requested response format is not supported.
Only application/json requests are supported.
The partner client is rate limited.
One or more service is currently unavailable.