Activate/deactivate a subcontractor, set its condition flags, or defer endorsements or missing policies to renewal
Updates your organization’s enrollment of the subcontractor. Send
status, conditionFlags, enforceEndorsementsAtRenewal,
missingPoliciesAtRenewal, or any mix.
- Changing
statusis recorded in the enrollment status history. - Changing
conditionFlagsre-evaluates compliance for every active profile the subcontractor is enrolled in for your organization. - Record the subcontractor’s answer on business vehicles with
company_vehicles(yes) orno_company_vehicles(no); sending both is a400. Auto requirements that apply “only when the sub operates company vehicles” read “Waiting on the sub” until one is set (see List condition keys). - Add
no_owned_vehicleswhen the subcontractor confirms it owns no company vehicles: auto requirements withpolicyRules.noOwnedVehiclesExceptionthen accept hired + non-owned autos only (seePolicyRules). enforceEndorsementsAtRenewal: truedefers the endorsement checks on the policies the subcontractor has now until each one renews (see Create a subcontractor);falsechecks them now. Changing it re-evaluates compliance the same way.missingPoliciesAtRenewalreplaces the missing policy types that wait until the subcontractor’s next renewal ([]for none). A type kept from before keeps its original start; a newly added one starts now. Changing it re-evaluates compliance the same way.- When nothing actually changes, the enrollment is returned unchanged and nothing is recorded.
Returns 404 when the subcontractor has no enrollment with your
organization. Requires scope subcontractors:write.
Authentication
Session JWT or API key (ak_...)
Path parameters
Request
Provide status, conditionFlags, enforceEndorsementsAtRenewal and/or missingPoliciesAtRenewal.
Existing sub, these missing policy types wait until the subcontractor’s next renewal (the earliest expiration date among its policies on file). Replaces the current set; [] for none.
Condition keys set for this subcontractor in your organization; replaces the current set. Each must be a known key (see GET /v1/meta/condition-keys), otherwise 400 validation_failed.
Response
The link between your organization and a subcontractor (one row per organization × subcontractor). Status, condition flags and portal-invite state are organization-scoped; the subcontractor record itself is shared.
