Step 2: Create Destination Environment
POST {{apiPath}}/environments
Create the destination environment using a POST {{apiPath}}/environments request.
In the request body, the
name,region, andtypeattributes are required.The value of the
nameattribute must be unique within the organization.
The response returns an environment ID that you'll use in the next steps.
See Create Environment for more information.
Request Body
{"name"=>"Destination_Environment_{{$timestamp}}", "description"=>"New destination environment", "type"=>"SANDBOX", "region"=>"NA", "billOfMaterials"=>{"products"=>[{"type"=>"PING_ONE_BASE", "description"=>"New destination environment product description", "console"=>{"href"=>"https://example.com"}}]}, "license"=>{"id"=>"{{licenseID}}"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |