POST /v1/api-keys/{id}/revoke
POST/v1/api-keys/{id}/revoke
Revoke an API key. Irreversible — create a new key to replace it.
Paramètres de chemin
| Nom | Type | Description |
|---|
idobligatoire | string | |
Exemple
curl -X POST https://api.codemeta-os.de/v1/api-keys/{id}/revoke \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txt
const result = await cm.api-keys.post();
Codes de réponse
| HTTP |
Signification |
200 |
Default Response |