Files

2.7 KiB
Raw Permalink Blame History

Skip to content

Return to top

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.

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 updated.

Content-Type

application/json

SchemaJSON

JSON

{

"id": 0,

"uuid": "string",

"resourceable_type": "string",

"resourceable_id": 0,

"is_literal": true,

"is_multiline": true,

"is_preview": true,

"is_runtime": true,

"is_buildtime": true,

"is_shared": true,

"is_shown_once": true,

"key": "string",

"value": "string",

"real_value": "string",

"comment": "string",

"version": "string",

"created_at": "string",

"updated_at": "string"

}

PATCH

/services/{uuid}/envs

Playground


Authorization

bearerAuth

Variables

Key

Value

uuid*

Body

Try it out

Samples


Powered by VitePress OpenAPI