Skip to main content

Update Staff Member

Update an existing staff member.

Endpointโ€‹

PATCH /v1/staff/{id}

Authenticationโ€‹

Requires an API key with the staff:write scope.

Parametersโ€‹

ParameterTypeLocationDescription
idintegerpathThe staff member ID

Request Bodyโ€‹

All fields are optional. Only provided fields will be updated.

See Create Staff Member for available fields.

Example Requestโ€‹

curl -X PATCH "https://app.equipdash.com/api/v1/staff/5" \
-H "Authorization: Bearer eqd_live_abc123xyz789..." \
-H "Content-Type: application/json" \
-d '{
"job_title": "Senior Equipment Technician",
"status": "active"
}'

Responseโ€‹

Success (200 OK)โ€‹

Returns the updated staff member resource.

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks staff:write scope
403forbiddenStaff member belongs to different supplier
404resource_not_foundStaff member does not exist
422validation_errorInvalid request data