List pipeline visibility for a role
GET {{baseUrl}}/roles/:id/pipelines?visible=true
Returns the list of either visible or hidden pipeline IDs for a specific role. For more information on pipeline visibility, please refer to the Visibility groups article.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
visible | boolean | Whether to return the visible or hidden pipelines for the role |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"pipeline_ids":[2],"visible":true}}