---
title: "Update contribution exclusions for a company benefit"
method: PUT
path: "/v1/company_benefits/{company_benefit_id}/contribution_exclusions"
tags: ["Company Benefits"]
---

# Update contribution exclusions for a company benefit

`PUT /v1/company_benefits/{company_benefit_id}/contribution_exclusions`

## Request

- Base URL: `https://api.gusto-demo.com`
- URL: `https://api.gusto-demo.com/v1/company_benefits/{company_benefit_id}/contribution_exclusions`
- Auth: HTTP bearer

Updates contribution exclusions for a given company benefit.

Currently this endpoint only works for 401-k and Roth 401-k benefit types.

scope: `company_benefits:write`

## Path parameters

- `company_benefit_id` string, required

## Headers

- `X-Gusto-API-Version` '2026-06-15'

## Request body

- ContributionExclusionUpdateRequest
  - `contribution_exclusions` ContributionExclusion[], required: The list of contribution exclusions to update
    - `contribution_uuid` string, required: The UUID of the contribution type.
    - `contribution_type` string, required: The name of the contribution type.
    - `excluded` boolean, required: Whether this contribution type is excluded from the benefit.

## Response `200`

Example response

- ContributionExclusion[]
  - `contribution_uuid` string, required: The UUID of the contribution type.
  - `contribution_type` string, required: The name of the contribution type.
  - `excluded` boolean, required: Whether this contribution type is excluded from the benefit.

## Other responses

- `404`: Not Found The requested resource does not exist. Make sure the provided UUID is valid.
- `422`: Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details.

---

[API](https://skmtc.dev/gusto/apis/gusto-api.md) - [All operations](https://skmtc.dev/gusto/apis/gusto-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gusto/apis/gusto-api/revisions/f98575fa2a5e?raw)
