Revoke key in Workload tenants
Revokes a key issued by this workload.
Revokes a key issued by this workload. An already revoked key also returns HTTP 204.
- Path
DELETE https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys/key-id - Scope
access:whoami - Effect
destructive— a successful call removes data; the CLI asks before it runs. - Collection workload_tenants
- Host
https://api.sylphx.com
Request
| Field | Type | What it is |
|---|---|---|
external_tenant_id | string | Workspace ID in the calling workload's namespace. Required. |
key_id | string | Credential ID returned by create or list. Required. |
Response
The call answers with an empty object.
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.
Every error arrives in the body Errors describes.
Examples
curl -X DELETE "https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys/key-id" \
-H "Authorization: Bearer $SYLPHX_API_KEY"