Delete Namespace
Tears down the namespace's runner namespace, deletes the record and revokes every API key owned by or bound to it. Fails with FailedPrecondition while the namespace still has API keys unless force is set.
Access: admin role in the namespace (the owning team's admins, or an ADMIN-role namespace API key), or a platform admin. Other callers get NotFound.
Authorization
BearerAuth A namespace-scoped API key (cpk_…) for machines, or a Xeonr Auth OIDC
token for humans. The key's namespace and role are pinned server-side.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 64If true, delete even when the namespace still has API keys. Otherwise the call fails with FailedPrecondition while any remain. validate:skip a bool has no bounds
Response Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.NamespaceService/DeleteNamespace" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}Create Namespace POST
Creates a namespace owned by `owner_team` (a team URN, or transitionally a bare slug; platform admins' values are verified against Xeonr Auth and canonicalised to the URN), places it on `cluster_id` (empty: the team's default cluster, else the platform's) and provisions its dedicated runner namespace `cp-rn-<namespace>`. `namespace` must be a DNS-label slug of at most 40 characters. Team admins may not set internal targets or image pull secrets (PermissionDenied). Quotas left at zero default to 4000 mCPU, 8192 MB memory, 16 pods, 50 GiB storage and 20 volumes; a team admin may set them within the team's grant on the cluster (ResourceExhausted beyond it), and a platform admin without limit. Returns AlreadyExists for a taken name. **Access:** a platform admin, or an admin of the `owner_team` team.
EnsureManagedTeamNamespace POST
Establishes the one immutable namespace owned by a product for a team. The product is resolved from the configured verified service principal; callers cannot select it or adopt an existing unmanaged namespace.