Skip to Content
Orbyte Labs

Create Environment

POST
/v1/environments

Authorization

bearerAuth
headerAuthorizationBearer <token>

Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.

Header Parameters

X-Orbyte-Organization*string

Organization selected by the signed-in user.

Request Body

application/json
  1. body
appId*string
name*string
Length3 <= length <= 128
isProduction?boolean
Defaultfalse

Response Body

Environment

application/json
  1. response
name*string
Length3 <= length <= 128
isProduction*boolean
Defaultfalse
id*string
Example Request
curl -X POST 'https://api.orbytelabs.com/v1/environments' \  -H 'X-Orbyte-Organization: string' \  -H 'Content-Type: application/json' \  -d '{  "appId": "string",  "name": "string"}'
Example Response
{  "name": "string",  "isProduction": false,  "id": "string"}