Provision in Workload tenants
Provisions a managed tenant and its production environment without a Cloud user.
Provisions a managed tenant and its production environment without a Cloud user. Repeating an external ID returns its original canonical IDs.
- Path
POST https://api.sylphx.com/v1/access/workload/tenants - Scope
access:whoami - Effect
write— a successful call changes state. - Collection workload_tenants
- Host
https://api.sylphx.com
Request
| Field | Type | What it is |
|---|---|---|
external_tenant_id | string | Immutable, URL-safe workspace ID in the calling workload's namespace. Required. |
display_name | string | Initial workspace display name. Replays do not rename a workspace. Required. |
Response
| Field | Type | What it is |
|---|---|---|
org_id | string | Workspace's Access organization ID and Money payer ID. |
project_id | string | Workspace's Access project ID. |
env_id | string | Workspace's live Access environment ID. |
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.UNAVAILABLE— The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.
Every error arrives in the body Errors describes.
Examples
curl -X POST "https://api.sylphx.com/v1/access/workload/tenants" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"display_name":"…","external_tenant_id":"…"}'