Skip to content

Update Env

PATCH
/services/{uuid}/envs

Update 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 updated.
application/json
JSON
{
"message": "Environment variable updated."
}

Samples

Powered by VitePress OpenAPI