---
# @generated by sylphx-gen. Do not edit.
title: "Workload tenants"
description: "The Workload tenants collection — served at `https://api.sylphx.com`."
type: reference
product: platform
summary: "The `workload_tenants` collection of Sylphx Access."
order: 900
---

The `workload_tenants` collection of Sylphx Access — served at `https://api.sylphx.com`.

**Service** Sylphx Access · **served at `https://api.sylphx.com`**


## Methods

Every method of the collection, in the registry's order, with the scope it
needs. The full request, response and examples are one link away.

| Method | Call | What it does |
| --- | --- | --- |
| `POST` | [`provision`](/docs/api/workload_tenants#provision) | Provisions a managed tenant and its production environment without a Cloud user. Repeating an external ID returns its original canonical IDs. |
| `GET` | [`list_keys`](/docs/api/workload_tenants#list-keys) | Lists keys issued by this workload in its named tenant, without secrets. |
| `POST` | [`create_key`](/docs/api/workload_tenants#create-key) | Creates an environment key and returns HTTP 201. Idempotency-Key is required. A replay within 24 hours returns key metadata without plaintext. |
| `DELETE` | [`revoke_key`](/docs/api/workload_tenants#revoke-key) | Revokes a key issued by this workload. An already revoked key also returns HTTP 204. |

## provision

Provisions a managed tenant and its production environment without a Cloud user. Repeating an external ID returns its original canonical IDs.

`POST https://api.sylphx.com/v1/access/workload/tenants` · scope `access:whoami` · effect `write` · [Request, response and examples](/docs/api/workload_tenants/provision)

## list_keys

Lists keys issued by this workload in its named tenant, without secrets.

`GET https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys` · scope `access:whoami` · effect `read` · [Request, response and examples](/docs/api/workload_tenants/list_keys)

## create_key

Creates an environment key and returns HTTP 201. Idempotency-Key is required. A replay within 24 hours returns key metadata without plaintext.

`POST https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys` · scope `access:whoami` · effect `write` · [Request, response and examples](/docs/api/workload_tenants/create_key)

## revoke_key

Revokes a key issued by this workload. An already revoked key also returns HTTP 204.

`DELETE https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys/key-id` · scope `access:whoami` · effect `destructive` · [Request, response and examples](/docs/api/workload_tenants/revoke_key)
