Create an environment with a specified ID
Creates a new environment with the specified ID, or clones from a source environment via X-Contentful-Source-Environment. When updating an existing environment, include the current version in X-Contentful-Version.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
space_id
ID of the space in the form of a string
environment_id
ID of the environment in form of a string
Headers
X-Contentful-Source-Environment
Environment ID for the desired source environment
X-Contentful-Version
Version of the environment to update
Request
This endpoint expects a map from strings to any.
Response headers
Content-Type
Content-Type
Response
Created - Resource created successfully