
# アプリケーション認証情報を取り消す

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

認証情報を取り消します(理由 `manual`)。 取り消された認証情報はアプリケーションを認証できなくなります。 取り消しは元に戻せません。 既に手動で取り消された認証情報に対してリクエストを繰り返すと成功します。

## リクエスト

| パラメータ | 場所 | 説명 |
|---|---|---|
| `application_id` | yol | Application id (`app_…`). |
| `credential_id` | path | Credential id (`cred_…`). |

## レスポンス

`204 No Content`。

## エラー

| HTTP | `code` | いつ |
|---|---|---|
| 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. |

## 例

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