Settings
Delete API key
Use the Delete API keys endpoint to delete an existing API key, providing its valid id as a parameter. Note that this operation is not reversible.
API keys are tokens used to control access to the API. Include this token in the Authorization header parameter when making API calls, following the word "Basic" and a space with your API key.
You can read more about authentication at Codat and managing API keys via the Portal UI or API.
Tips and pitfalls
- It is possible to delete the last remaining API key. If this happens, a new key can be created via the API key management page of the Portal.
- It is possible to delete the API key used to authenticate the Delete API key request.
delete/apiKeys/{apiKeyId}
Path parameters
apiKeyIdstring required
Example:8a210b68-6988-11ed-a1eb-0242ac120002
Unique identifier for api key.
Response
Too many requests were made in a given amount of time. Wait a short period and then try again.