All requests to CARTO’s APIs (Maps, Sql, etc.) require you to authenticate with an API Key. API Keys identify your project and provide a powerful and flexible primitive for managing access to CARTO’s resources like APIs and Datasets.
These API Keys can be provisioned, revoked and regenerated through the Auth API or the dashboard. You are able to manage authorization through the UI, by logging on to your CARTO account and managing everything in there. Here you have an example of the authorization dashboard in a real CARTO account.
And here you can see the process of creating a new API key, managing its name and resources in terms of APIs and Datasets, including its permissions.
It requires to add a name and grant permission for at least one of these:
Access denied error.
Warning: Changes to the key permissions are not possible once key is generated.