REST API Reference
Projects API
Create, list, inspect, and update Cloud Projects. Projects serve as tenant namespace boundaries with assigned CPU/RAM quotas.
Create Project
Provisions a new Project and provisions the corresponding Kubernetes namespace and resource quotas on the target cluster.
Create ProjectAuth
Provision a new Cloud project namespace.
Payload Example
{
"name": "Production Store",
"slug": "prod-store",
"cluster_id": "cls_syd01_7a9b",
"max_cpu": "8000m",
"max_memory": "32Gi"
}Status Codes
- Name
201- Type
- HTTP
- Description
- Project and namespace successfully created.
- Name
400- Type
- HTTP
- Description
- Slug format invalid or already in use.
Request Parameters
- Name
name- Type
- string
- Required
- Description
- Human-friendly name for the project.
- Name
slug- Type
- string
- Required
- Description
- Unique lowercase URL and Kubernetes namespace slug.
- Name
cluster_id- Type
- string
- Required
- Description
- Target cluster ID where namespace will be created.
Request
POST/v1/cloud/projects
Response 201