PUT /v1/environments/<name>
Create a new environment with a specific name.
Request format
When Forming node classifier API requests to this endpoint, the URI
path must contain the name
you want to assign to the
new environment. For example, this request creates an environment called staging
:
PUT https://localhost:4433/classifier-api/v1/environments/staging
Response format
If the environment is successfully created, the service returns a 201 Created response and a JSON body describing the environment.
If an environment with the given name already exists, the endpoint might return a 200 OK response.
Error responses
Possible errors follow the usual format for Node classifier API errors.