Create a new environment in the Metoro platform.
cURL
curl --request POST \ --url https://us-east.metoro.io/api/v1/environments/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "environment": { "name": "my-environment" } } '
{ "token": "eyJ..." }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Environment to create
Request to create a new environment
Environment object
Show child attributes
Name of the environment
{ "name": "my-environment" }
Environment created successfully
Response for creating a new environment
Name of the environment that was created
Token to send allow sending of data to Metoro
Was this page helpful?