Files

2.4 KiB
Raw Permalink Blame History

Skip to content

Return to top

Create Env

==============================================================================================================

POST

/applications/{uuid}/envs

Create env by application UUID.

Authorizations


bearerAuth

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

Type

HTTP (bearer)

Parameters


Path Parameters

uuid*

UUID of the application.

Type

string

Required

Request Body


application/json

SchemaJSON

JSON

{

"key": "string",

"value": "string",

"is_preview": true,

"is_literal": true,

"is_multiline": true,

"is_shown_once": true

}

Responses


201400401404

Environment variable created.

Content-Type

application/json

SchemaJSON

JSON

{

"uuid": "nc0k04gk8g0cgsk440g0koko"

}

POST

/applications/{uuid}/envs

Playground


Authorization

bearerAuth

Variables

Key

Value

uuid*

Body

Try it out

Samples


Powered by VitePress OpenAPI