Disable Automatic Test Application Creation When Creating an API
This article clarifies whether the Auth0 Dashboard includes a setting to disable the automatic creation of a test application when a new Application Programming Interface (API) is created.
- Auth0 Dashboard
- Management API
- Resource Server
Currently, the Auth0 Dashboard does not offer an option to opt out of the default behavior that creates a test application during API creation. To avoid the automatic creation of a test application, create the API programmatically using the Auth0 Management API.
Follow these steps to create an API without a test application:
- Obtain a Management API access token by following the instructions in Get Management API Access Tokens for Testing.
- Go to the Create a resource server endpoint in the Management API Explorer.
- Click Set API Token in the top-right corner, then paste the token generated in step 1.
- Enter the desired configuration in the Body section. Use the following example payload:
{
"name": "test",
"identifier": "http://test.api"
}
NOTE: This payload is provided as an example. Test the configuration to ensure it meets specific requirements before use in production.
- Click Test Endpoint to create the API.