v2
latestOpenAPI 3.1.12026-08-0785394779.1 KBUpdate an employer
Updates the specified employer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the legal_address parameter only the legal_address value will be changed.
Note that the legal_address and contact fields are treated as single objects that are updated entirely. If you provide either of these fields, the entire object will be replaced with the new data, not just the individual sub-fields you include in the request.For instance, if you provide a partial legal_address object, it will overwrite the entire existing legal_address, potentially removing any sub-fields you didn't include in the request.
This request accepts mostly the same arguments as the employer creation call.
Path parameters
Headers
The target platform id. Required only when calling with a dashboard (WorkOS AuthKit) access token instead of a platform API key — the token carries no platform claim, so the caller must say which platform it means. Ignored for platform API key / embed session token callers.
Request body
Example request
{
"earliest_benefits_start_date": "2024-12-01"
}Response
OK
Example response
{
"id": "er_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"platform_id": "pt_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"offboard_on": "2024-12-01T00:00:00Z",
"earliest_benefits_start_date": "2024-12-01"
}