Team
The "Team" section includes endpoints for team management and all associated information. It serves as the central hub for handling teams, offering functions like team creation, modification, and access to all team-related data.
The user must set the current command to pass validation when performing actions. It is important to note that if a user is a member of a command, but it is not marked as current for that user, the user will not be able to perform any actions in it. Typically this item is used to switch between the user's commands.
Set current team
POST
{{BASE_URL}}/api/teams/current
Assign the user to their active team, allowing them to collaborate within that specific team's context
Headers
Authorization*
String
Bearer Token
Request Body
teamId*
String
Team ID
Get current team
GET
{{BASE_URL}}/api/teams/current
Retrieve information about the user's currently active team, enabling them to access and interact with their team's resources.
Headers
Authorization*
String
Bearer Token
Get resources by team
GET
{{BASE_URL}}/api/teams/{id}/resources
Get all active resources on a specific team.
Path Parameters
id*
String
Team ID
Headers
Authorization*
String
Bearer Token
When creating a new project, the user has the option of transferring previously created resources to the new project.
Move resources
POST
{{BASE_URL}}/api/teams/{id}/move-resources
Transfer active resources (VMs, databases, applications, Kubernetes resources) from one project to another, providing flexibility in resource allocation.
Headers
Authorization*
String
Bearer Token
Request Body
data*
Object
Get Team
GET
{{BASE_URL}}/api/teams/{id}
Get information about a specific team.
Path Parameters
id*
String
Team ID
Headers
Authorization*
String
Bearer Token
Updated Team
PUT
{{BASE_URL}}/api/teams/{id}
Update details and information about a specific team, ensuring accurate and up-to-date team information.
Path Parameters
id*
String
Team ID
Headers
Authorization*
String
Bearer Token
Delete Team
DELETE
{{BASE_URL}}/api/teams/{id}
Delete a team. You can only delete a team if there are no active resources in the team.
Path Parameters
id*
String
Team ID
Headers
Authorization*
String
Bearer Token
Delete member
DELETE
{{BASE_URL}}/api/teams/{id}/members/{memberId}
Deleting a team member. This can only be done by the team administrator
Path Parameters
id*
String
Team ID
memberId*
String
User id
Headers
Authorization*
String
Bearer Token
Last updated