Reference

Create environment

Makes an environment. It has no region; each namespace and index picks its own.

POST
/environments

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
name*string
Match^[A-Za-z0-9_-][A-Za-z0-9._-]{0,99}$

Response Body

The environment.

application/json
  1. response
name*string
created*string
Formatdate-time
store*|

Your bucket, when the environment keeps its data there. Null: the server's.

Example Request
curl -X POST 'https://example.com/v1/environments' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "name": "string",  "created": "2019-08-24T14:15:22Z",  "store": {    "store": "string",    "access": {      "type": "aws_role",      "roleArn": "string",      "externalId": "string",      "region": "string"    },    "verified": "2019-08-24T14:15:22Z"  }}