2.9 KiB
Return to top
Update Envs (Bulk)
=============================================================================================================================
PATCH
/applications/{uuid}/envs/bulk
Update multiple envs 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
{
"data": [
{
"key": "string",
"value": "string",
"is_preview": true,
"is_literal": true,
"is_multiline": true,
"is_shown_once": true
}
]
}
Responses
201400401404
Environment variables 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
/applications/{uuid}/envs/bulk
Playground
Authorization
bearerAuth
Variables
Key
Value
uuid*
Body
Try it out
Samples
Powered by VitePress OpenAPI