
# Revocare una credenziale dell'applicazione

`DELETE /v1/applications/{application_id}/credentials/{credential_id}` · permesso `applications:write`

Revoca una credenziale (motivo `manual`). Una credenziale revocata non può più autenticare l'applicazione; la revoca non può essere annullata. Ripetere la richiesta per una credenziale già revocata manualmente ha successo.

## Richiesta

| Parametro | In | Descrizione |
|---|---|---|
| `application_id` | yol | Application id (`app_…`). |
| `credential_id` | path | Credential id (`cred_…`). |

## Risposta

`204 No Content`.

## Errori

| HTTP | `code` | Quando |
|---|---|---|
| 401 | `unauthenticated` | The key is missing, invalid or revoked. |
| 403 | `insufficient_permissions` | The key lacks the required permission. |
| 404 | `not_found` | The application or the credential does not exist in this environment. |
| 409 | `conflict` | The credential was already revoked for another reason. |
| 503 | `service_unavailable` | The credential registry is temporarily unavailable; retry after the `Retry-After` delay. |

## Esempio

```bash
curl -X DELETE https://api.eu.keenauth.com/v1/applications/app_6f8d0cjgbmf0gtn2rg6pscp3cg/credentials/cred_0000000000000000000000001z \
  -H "Authorization: Bearer $KEENAUTH_SECRET_KEY"
```
