Management API
Get a list of clusters
Returns a list of clusters belonging to the user's organization.
Authorizations:
bearerAuth
Responses
Response samples
- 200
- 401
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "region": "string",
- "type": "kubernetes",
- "project_id": "string",
- "health": "healthy",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Update a member
Updates the a member in the current organization.
Authorizations:
bearerAuth
path Parameters
| id required | string The unique identifier of the member to update. |
Request Body schema: application/jsonrequired
| role | string Enum: "admin" "editor" "viewer" The new role to assign to the member (e.g., admin, member, viewer). |
Responses
Request samples
- Payload
Content type
application/json
{- "role": "admin"
}Response samples
- 400
- 401
- 404
- 500
Content type
application/json
{- "message": "string"
}Invite a user to an organization
Sends an invitation to a user to join the current organization.
Authorizations:
bearerAuth
Request Body schema: application/jsonrequired
| email required | string The email address of the user to invite. |
| role | string The role to assign to the user (e.g., admin, member, viewer). |
Responses
Request samples
- Payload
Content type
application/json
{- "email": "string",
- "role": "string"
}Response samples
- 400
- 401
- 500
Content type
application/json
{- "message": "string"
}List all instances
Returns a list of all instances belonging to the user's organization. Optionally filter by project.
Authorizations:
bearerAuth
header Parameters
| X-PROJECT-ID | string <uuid> Filter instances by project ID |
Responses
Response samples
- 200
- 401
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "state": "creating",
- "ip": "string",
- "image": "string",
- "preemptible": true,
- "ephemeral": true,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "project_id": "string",
- "region": "string",
- "health": "healthy",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get an instance
Returns details of a specific instance.
Authorizations:
bearerAuth
path Parameters
| id required | string <uuid> Unique identifier of the instance |
Responses
Response samples
- 200
- 401
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "state": "creating",
- "ip": "string",
- "image": "string",
- "preemptible": true,
- "ephemeral": true,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "project_id": "string",
- "region": "string",
- "health": "healthy",
- "updated_at": "2019-08-24T14:15:22Z"
}Register a public SSH key for the authenticated user.
Authorizations:
bearerAuth
Request Body schema: application/jsonrequired
| name required | string The name of the key. |
| key required | string The key. |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "key-1",
- "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEaSkijEWFbnjixzWRw3u2spZZaeVeWO5/ymySevCvXh"
}Response samples
- 401
- 409
- 500
Content type
application/json
{- "message": "string"
}