Workers
Update a worker
Update a worker’s number, original start date, entity, or workspace attributes.
PATCH
Update a worker
Send the fields to change as a flat JSON object. Omitted fields retain their
values. The supported native fields are
Workspace attributes use their current field keys at the top level. String,
date (
Each update that changes a value records one revision, with the old and new
value of every field it changed, who made it and the surface it came through.
The worker’s
The endpoint returns the updated worker, including
visible workspace attributes. Invalid, archived, or unwritable fields reject
the entire update with an
number, starts, and entity; other
native worker facts continue to use their existing domain operations.
Identifier of the entity in this workspace to assign to the worker. Entity
changes retain the existing payroll-provider assignment behavior.
YYYY-MM-DD), and select fields are supported. Select values use option
keys, such as medium, rather than labels. Send null to clear a workspace
attribute. Renaming a field key preserves its stored values; integrations must
use the new key after the rename.
For example, if your workspace defines a select field with key tshirt_size:
revision names the latest. An update that changes nothing
records no revision.
invalid error and field-specific details. Worker
access and write permissions apply to workspace attributes too.
Workspace attributes are optional. A Worker object supports up to 100 active
workspace attributes, a select field supports up to 100 options, and a string
value supports up to 1,024 characters.Update a worker