Testkube Control Plane ../collaborators operations
Testkube Pro API (cloud-api/1.10.51)
Download OpenAPI specification:Download
E-mail: testkube@kubeshop.io  License: COMMERICAL 
API for Testkube Pro
Lists all collaborators for this environment
Lists all collaborators for this environment.
Authorizations:
None
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
Responses
Response samples
- 200
 - 401
 - 403
 - 404
 
Content type
application/json
[- {
- "kind": "string",
 - "id": "string",
 - "name": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "role": "string",
 - "email": "string",
 - "slug": "string",
 - "memberCount": 0
 
} 
]Adds many collaborators to this environment
Adds many collaborators to this environment.
Authorizations:
None
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
Request Body schema: application/jsonrequired
| collaborators required  | Array of strings  The collaborators to add to this environment.  | 
| role required  | string  The role to assign to all collaborators.  | 
Responses
Request samples
- Payload
 
Content type
application/json
{- "collaborators": [
- "string"
 
], - "role": "string"
 
}Response samples
- 200
 - 400
 - 401
 - 403
 - 404
 
Content type
application/json
{- "collaborators": [
- {
- "kind": "string",
 - "id": "string",
 - "name": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "role": "string",
 - "email": "string",
 - "slug": "string",
 - "memberCount": 0
 
} 
], - "failed": [
- "string"
 
] 
}Remove many collaborators from this environment
Remove many collaborators from this environment.
Authorizations:
None
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
Request Body schema: application/jsonrequired
| collaborators required  | Array of strings  The collaborators to remove from this environment.  | 
Responses
Request samples
- Payload
 
Content type
application/json
{- "collaborators": [
- "string"
 
] 
}Response samples
- 200
 - 400
 - 401
 - 403
 - 404
 
Content type
application/json
{- "failed": [
- "string"
 
] 
}