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

Testkube Control Plane ../invites operations

Testkube Pro API (cloud-api/1.10.51)

Download OpenAPI specification:Download

API for Testkube Pro

List organization invites

Lists all invites for an organization.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

query Parameters
status
string
Enum: "pending" "revoked" "accepted" "declined" "failed"

The status of the invites.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Invite users to the organization

Invites one or more users to this organization.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

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

Email of the invitee.

role
string

The role that will be assigned to the person after accepting.

teams
Array of strings

Teams which the person will get access to after accepting the invite.

envs
Array of strings

Environments which the person will get access to after accepting the invite.

envRole
string

The role that will be assigned to the person's environments after accepting.

Responses

Request samples

Content type
application/json
{
  • "emails": [
    ],
  • "role": "string",
  • "teams": [
    ],
  • "envs": [
    ],
  • "envRole": "string"
}

Response samples

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

Get organization invite

Get an invite for an organization with given id.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

inviteID
required
string

unique invite ID

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "organization": "string",
  • "status": "pending",
  • "email": "string",
  • "inviter": "string",
  • "token": "string",
  • "role": "string",
  • "envRole": "string",
  • "envs": [
    ],
  • "teams": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "revokedAt": "2019-08-24T14:15:22Z",
  • "acceptedAt": "2019-08-24T14:15:22Z",
  • "declinedAt": "2019-08-24T14:15:22Z"
}

Updates an organization invite

Updates an organization invite.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

inviteID
required
string

unique invite ID

Request Body schema: application/json
required
role
string

The role that will be assigned to the person after accepting.

teams
Array of strings

Teams which the person will get access to after accepting the invite.

envs
Array of strings

Environments which the person will get access to after accepting the invite.

envRole
string

The role that will be assigned to the person's environments after accepting.

Responses

Request samples

Content type
application/json
{
  • "role": "string",
  • "teams": [
    ],
  • "envs": [
    ],
  • "envRole": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "organization": "string",
  • "status": "pending",
  • "email": "string",
  • "inviter": "string",
  • "token": "string",
  • "role": "string",
  • "envRole": "string",
  • "envs": [
    ],
  • "teams": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "revokedAt": "2019-08-24T14:15:22Z",
  • "acceptedAt": "2019-08-24T14:15:22Z",
  • "declinedAt": "2019-08-24T14:15:22Z"
}

Resend organization invite

Resend an invite for an organization with given id.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

inviteID
required
string

unique invite ID

Responses

Response samples

Content type
application/problem+json
{}

Revoke organization invite

Revoke an invite for an organization with given id.

Authorizations:
None
path Parameters
id
required
string

unique id of the object

inviteID
required
string

unique invite ID

Responses

Response samples

Content type
application/problem+json
{}