Environments
Safely work on isolated instances of your project with environments. Environments are for making changes to your GraphQL schema, and testing out new content types without breaking your production implementation, not to be used for editorial workflows.
Depending on your current user role, and payment plan, you can manage your environments from your project settings.
Create an environment
- Navigate to the Settings tab in the left-hand sidebar in the lower group of icons.
- Select "Environments" in the contextual.
- Press "Clone" on the Master Environment.
- Provide a display name, an environment alias (created automatically if not provided) and toggle whether you'd like to include the content from the master environment.
Users, Roles & Permissions, Permanent Auth Tokens, and billing will not be cloned between projects.
Switching environments
You'll first need an additional environment to switch. Once you've more than one, click the "forking" icon in the sidebar, below your project icon. From here you can switch environments.
Environment endpoints
Each environment has its own API endpoint, with the alias
of the environment appended to the URL.
API endpoints for both master
and dev
environments would follow the format of:
Delete an environment
- Navigate to the Settings tab in the left-hand sidebar in the lower group of icons.
- Select "Environments" in the contextual.
- Find the environment you want to delete.
- Press the delete button on the environment and confirm you want to delete.