---
title: "Update pipeline visibility for a role"
method: PUT
path: "/roles/{id}/pipelines"
tags: ["Roles"]
---

# Update pipeline visibility for a role

`PUT /roles/{id}/pipelines`

Updates the specified pipelines to be visible and/or hidden for a specific role. For more information on pipeline visibility, please refer to the <a href="https://support.pipedrive.com/en/article/visibility-groups" target="_blank" rel="noopener noreferrer">Visibility groups article</a>.

## Path parameters

- `id` integer, required

## Request body

- object
  - `visible_pipeline_ids` object, required — The pipeline IDs to make the pipelines visible (add) and/or hidden (remove) for the specified role. It requires the following JSON structure: `{ "add": "[1]", "remove": "[3, 4]" }`.

## Response `200`

Update pipeline visibility for a role

- object
  - `success` boolean — If the response is successful or not
  - `data` object — The response data
    - `pipeline_ids` number[] — Either visible or hidden pipeline ids
    - `visible` boolean — Whether visible or hidden pipeline ids were returned

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/versions/bf863a979545/schema)
