Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

Testkube Control Plane ../teams operations

Testkube Pro API (cloud-api/1.10.51)

Download OpenAPI specification:Download

API for Testkube Pro

List organization teams

Lists the teams in an organization.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a team

Creates a team.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

Request Body schema: application/json
required
name
required
string

Display name of the team

slug
string

Human- and URL friendly identifier.

description
string

Description of the team

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "slug": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "slug": "string",
  • "name": "string",
  • "description": "string",
  • "memberCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get a team

Get a team by its id or `slug.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

teamID
required
string

The identifier of this team

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "slug": "string",
  • "name": "string",
  • "description": "string",
  • "memberCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete a team

Deletes a team.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

teamID
required
string

The identifier of this team

Responses

Response samples

Content type
application/problem+json
{}

Update a team

Updates a team's information.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

teamID
required
string

The identifier of this team

Request Body schema: application/json
required
name
string

Name of the team

description
string

Description of the team

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "slug": "string",
  • "name": "string",
  • "description": "string",
  • "memberCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Lists all members for this team

Lists all members for this team.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

teamID
required
string

The identifier of this team

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Adds members to this team

Adds many members to this team.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

teamID
required
string

The identifier of this team

Request Body schema: application/json
required
users
required
Array of strings

The users to add to this environment.

Responses

Request samples

Content type
application/json
{
  • "users": [
    ]
}

Response samples

Content type
application/json
{
  • "users": [
    ],
  • "failed": [
    ]
}

Remove many members from this team

Remove many members from this team.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

teamID
required
string

The identifier of this team

Request Body schema: application/json
required
users
required
Array of strings

The users to remove from this team.

Responses

Request samples

Content type
application/json
{
  • "users": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ]
}