Files
Proxmox-Coolify-Manager/coolify_skill/references/ops/create-env-by-service-uuid.md
T

2.4 KiB
Raw Blame History

Skip to content

Return to top

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.

Type

HTTP (bearer)

Parameters


Path Parameters

uuid*

UUID of the service.

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


201400401404422

Environment variable created.

Content-Type

application/json

SchemaJSON

JSON

{

"uuid": "nc0k04gk8g0cgsk440g0koko"

}

POST

/services/{uuid}/envs

Playground


Authorization

bearerAuth

Variables

Key

Value

uuid*

Body

Try it out

Samples


Powered by VitePress OpenAPI