Testkube Control Plane ../members operations
Testkube Pro API (cloud-api/1.10.51)
Download OpenAPI specification:Download
E-mail: testkube@kubeshop.io License: COMMERICAL
API for Testkube Pro
Get environment members Deprecated
Get environment members
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
Content type
application/json
[- {
- "email": "jack.the.ripper@testkube.io",
- "status": "Invited",
- "role": "read",
- "inviteID": "1234567890-12312321-123123-3333",
- "invitingEmail": "pikachu@testkube.io"
}
]
Add member to environment Deprecated
Add member to 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
environment details body
Array
email required | string user email |
status | string (MemberStatus) Enum: "Invited" "Accepted" "Rejected" "Revoked" Did Member confirmed organization subscription |
role | string (EnvironmentRole) Enum: "read" "run" "write" "admin" "artifact" |
inviteID | string Current Invite ID |
invitingEmail | string Inviting user email |
Responses
Request samples
- Payload
Content type
application/json
[- {
- "email": "jack.the.ripper@testkube.io",
- "status": "Invited",
- "role": "read",
- "inviteID": "1234567890-12312321-123123-3333",
- "invitingEmail": "pikachu@testkube.io"
}
]
Response samples
- 200
- 400
- 401
- 402
- 403
Content type
application/json
[- {
- "email": "jack.the.ripper@testkube.io",
- "status": "Invited",
- "role": "read",
- "inviteID": "1234567890-12312321-123123-3333",
- "invitingEmail": "pikachu@testkube.io"
}
]
Remove user from environment Deprecated
Remove user from environment
Authorizations:
None
path Parameters
id required | string unique id of the object |
environmentID required | string unique id of the environment |
memberEmail required | string unique email of the user |
Responses
Response samples
- 400
- 401
- 403
Content type
application/problem+json
{- "title": "Invalid test name",
- "status": 500,
- "detail": "Your test name can't contain forbidden characters like \"}}}\" passed",
}
Update env member role Deprecated
Update env member role
Authorizations:
None
path Parameters
id required | string unique id of the object |
environmentID required | string unique id of the environment |
memberEmail required | string unique email of the user |
Request Body schema: application/jsonrequired
environment details body
role required | string (EnvironmentRole) Enum: "read" "run" "write" "admin" "artifact" |
Responses
Request samples
- Payload
Content type
application/json
{- "role": "read"
}
Response samples
- 200
- 400
- 401
- 402
- 403
Content type
application/json
{- "email": "jack.the.ripper@testkube.io",
- "status": "Invited",
- "role": "read",
- "inviteID": "1234567890-12312321-123123-3333",
- "invitingEmail": "pikachu@testkube.io"
}