Remove labels from pipelines
POST/pipelines/labels/remove
Removes the given list of labels from the given pipelines.
Request
Query Parameters
workspaceId int64
Workspace numeric identifier
- application/json
Bodyrequired
Labels remove request
pipelineIdsint64[]
labelIdsint64[]
Responses
- 204
- 403
OK - No content
Operation not allowed
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- python
- curl
- java
- r
- javascript
- go
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
import json
conn = http.client.HTTPSConnection("docs.seqera.io")
payload = json.dumps({
"pipelineIds": [
0
],
"labelIds": [
0
]
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer <token>'
}
conn.request("POST", "/pipelines/labels/remove", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))