Delete API key
Delete a specific Rich Authentication Token (App API Key) for a OneSignal app. Requires your Organization API Key and the token’s unique ID, not the token value itself.
Documentation Index
Fetch the complete documentation index at: https://documentation.onesignal.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use this API to delete a specific App API Key (Rich Authentication Token) for a single OneSignal.How to use this API
Using your Organization API key (available in Organizations > Keys & IDs) you can delete an app token associated with a given app. Thetoken_id is a OneSignal-generated ID specific for the API key. This is not the API key itself. It is returned when creating an API key with Create API key. It can be found in the OneSignal dashboard and in the response body of the View API keys request.
Path Parameters
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
The OneSignal-generated ID specific to the API key. This is not the API key itself. It is returned when creating an API key with Create API key. It can be found in the OneSignal dashboard and in the response body of the View API keys request.
Response
Returns an empty object on success. The token has been revoked and can no longer be used.
The response is of type object.