Sign in

Create environment

documented

Create a new environment in a space.

POST /spaces/{space_id}/environmentsEnvironmentsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.contentful.com/spaces/{{$space_id}}/environments" \\
  -X POST \\
  -H "Authorization: Bearer {{CONTENTFUL_MANAGEMENT_TOKEN}}" \\
  -H "Content-Type: application/vnd.contentful.management.v1+json" \\
  -H "Accept: application/json" \\
  -d '{\"name\": \"{{$name}}\"}'