Create an environment
Creates a new environment, optionally cloned from a source environment via X-Contentful-Source-Environment. Use a specified ID for automation — auto-generated IDs are not recommended.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
space_id
ID of the space in form of a string
Headers
X-Contentful-Source-Environment
Environment ID for the desired source environment. You can create an environment with any other environment as a source by providing this header.
Request
This endpoint expects a map from strings to any.
Response headers
Content-Type
Content-Type
Response
Created - Resource created successfully