Create a environment in agent environments

Request

POST https://{hostname}:{port}
  /build/rest2/agents/{id}/properties/environment
Table 1. URL parameters
Parameter Type Required Description
id string true The identifier to use when looking up an agent. This can be the name or ID of the agent