Skip to content

Create Env

POST
/services/{uuid}/envs

Create env by service UUID.

Authorizations

bearerAuth

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

TypeHTTP (bearer)

Parameters

Path Parameters

uuid*

UUID of the service.

Typestring
Required
formatuuid

Request Body

JSON
{
"key": "string",
"value": "string",
"is_preview": true,
"is_build_time": true,
"is_literal": true,
"is_multiline": true,
"is_shown_once": true
}

Responses

Environment variable created.
application/json
JSON
{
"uuid": "nc0k04gk8g0cgsk440g0koko"
}

Samples

Powered by VitePress OpenAPI