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

KeyDatatypeRequiredDescription
visiblebooleanWhether to return the visible or hidden pipelines for the role

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"success":true,"data":{"pipeline_ids":[2],"visible":true}}