API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

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

NomTypeDescription
idobligatoirestring

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

Recherche