Update pipeline visibility for a role
PUT {{baseUrl}}/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 Visibility groups article.
Request Body
{"visible_pipeline_ids"=>"<object>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"pipeline_ids":[1,2],"visible":true}}