Update Employee Dependent
Changed onReplaces all fields on an existing employee dependent record. The request body must contain the full desired state of the dependent — omitted fields are written as empty or null, not preserved. employeeId is required and must reference a valid employee. relationship must be a valid relationship type and gender must be a valid gender value. isUsCitizen and isStudent accept "yes" or "no". state accepts a state code (e.g. "UT") and country accepts an ISO 3166-1 alpha-2 country code (e.g. "US"). dateOfBirth must be in YYYY-MM-DD format. SSN and SIN are accepted as plain text and stored encrypted. Accepts both application/json and application/xml request bodies. The response format mirrors the request Content-Type (not the Accept header): JSON request bodies receive a JSON response; XML request bodies receive an XML response. A successful update fires an internal dependent-updated event that may trigger downstream benefit enrollment processing.
OAuth Scopes: employee:dependent.write, employee:dependent:ssn.write
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:dependent:ssn.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:dependent.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The numeric ID of the employee dependent to update.
Request body
Response
The updated dependent record. Format matches the request Content-Type (JSON or XML).
Changes
- info
the security scope
employee:dependent:ssn.writewas added to the endpoint's security schemeoauth - info
the security scope
employee:dependent.writewas removed from the endpoint's security schemeoauth
- info