List organization collaborators
GET/orgs/:orgId/collaborators
Lists the collaborators of the organization identified by the given orgId
.
Request
Path Parameters
orgId int64required
Organization numeric identifier
Query Parameters
max int32
Pagination result max result
offset int32
Pagination offset
search string
Filter search parameter
Responses
- 200
- 400
- 403
OK
- application/json
- Schema
- Example (auto)
Schema
members object[]
totalSizeint64
{
"members": [
{
"memberId": 0,
"userId": 0,
"userName": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"avatar": "string",
"role": "owner"
}
],
"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/collaborators", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))