List organization teams
GET/orgs/:orgId/teams
Lists all teams in the organization identified by the given orgId
.
Request
Path Parameters
orgId int64required
Organization numeric identifier
Query Parameters
max int32
Pagination max results
offset int32
Pagination offset
search string
Filter search parameter
Responses
- 200
- 400
- 403
OK
- application/json
- Schema
- Example (auto)
Schema
teams object[]
totalSizeint64
{
"teams": [
{
"teamId": 0,
"name": "string",
"description": "string",
"avatarUrl": "string",
"membersCount": 0
}
],
"totalSize": 0
}
Bad request
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Operation not allowed
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- python
- curl
- java
- r
- javascript
- go
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("docs.seqera.io")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <token>'
}
conn.request("GET", "/orgs/:orgId/teams", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))