API / Api Keys
DELETE
/api-keys/{id}
Revoke an API key
Authentification : clé API Bearer requise.
Paramètres
| Nom | Dans | Type | Description |
|---|---|---|---|
| id* | path | string | API key ID |
Exemple curl
curl -X DELETE https://api.sporee.fr/api-keys/<id> \
-H "Authorization: Bearer $SPORE_API_KEY"Réponses
| Statut | Description | Type |
|---|---|---|
| 204 | No Content | — |
| 400 | Bad Request | echo.HTTPError |
| 401 | Unauthorized | echo.HTTPError |
| 404 | Not Found | echo.HTTPError |
Source machine : openapi.json · opération revokeApiKey