Revoke an application API key

When you have enabled the Enable Remote API checkbox on the Organization Settings page in the Developer Portal, you can automate the process for revoking an application API key by calling the REST endpoint located at developer-api.vivox.com/api/v1/applications/remote-api/key/revoke with a tool such as cURL, Advanced REST Client (ARC), or Postman.

The following code displays an example of how to revoke the “key-to-revoke” application API key by using cURL:

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\"}"

A response in the following format indicates that you successfully revoked the key:

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