# アプリケーションの API キーを取り消す

> How to revoke an applicationAPI key.

デベロッパーポータルの Organization Settings (組織の設定) ページで **Enable Remote API** チェックボックスをオンにした場合は、cURL、Advanced REST Client (ARC)、Postman などのツールで `developer-api.vivox.com/api/v1/applications/remote-api/key/revoke` にある REST エンドポイントを呼び出すことで、アプリケーションの API キーを取り消すプロセスを自動化できます。

以下のコードは、cURL を使用してアプリケーションの API キー "key-to-revoke" を取り消す方法の例を示しています。

```plaintext
curl "https://developer-api.vivox.com/api/v1/applications/remote-api/key/revoke" -X POST -d
"{\"remoteApiUsername\":\"remote-api-username-from-org-settings-page\",\"remoteApiPassword\":\"remote-api-password-from-org-settings-page\",\"issuer\":\"issuer-from-app-details-page\"}"
```

以下の形式のレスポンスは、キーが正常に取り消されたことを示します。

`{"statusCode":200,"data":"some-new-key"}`
