Skip to content
Console
On this page

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

FieldTypeWhat it is
external_tenant_idstringImmutable, URL-safe workspace ID in the calling workload's namespace. Required.
display_namestringInitial workspace display name. Replays do not rename a workspace. Required.

Response

FieldTypeWhat it is
org_idstringWorkspace's Access organization ID and Money payer ID.
project_idstringWorkspace's Access project ID.
env_idstringWorkspace'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":"…"}'