Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
[Skip to content](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Update Env[](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#update-env)
|
||||
|
||||
==========================================================================================================
|
||||
|
||||
PATCH
|
||||
|
||||
/services/{uuid}/envs
|
||||
|
||||
Update env by service UUID.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/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[](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#parameters)
|
||||
|
||||
----------------------------------------------------------------------------------------------------------
|
||||
|
||||
### Path Parameters
|
||||
|
||||
uuid\*
|
||||
|
||||
UUID of the service.
|
||||
|
||||
Type
|
||||
|
||||
string
|
||||
|
||||
Required
|
||||
|
||||
Request Body[](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#request-body)
|
||||
|
||||
--------------------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"key": "string",
|
||||
|
||||
"value": "string",
|
||||
|
||||
"is\_preview": true,
|
||||
|
||||
"is\_literal": true,
|
||||
|
||||
"is\_multiline": true,
|
||||
|
||||
"is\_shown\_once": true
|
||||
|
||||
}
|
||||
|
||||
Responses[](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#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[](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#playground)
|
||||
|
||||
----------------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Variables
|
||||
|
||||
Key
|
||||
|
||||
Value
|
||||
|
||||
uuid\*
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/update-env-by-service-uuid#samples)
|
||||
|
||||
----------------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user