174 lines
3.3 KiB
Markdown
174 lines
3.3 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/update-database-by-uuid#VPContent)
|
||
|
||
Return to top
|
||
|
||
Update[](https://coolify.io/docs/api-reference/api/operations/update-database-by-uuid#update)
|
||
|
||
===============================================================================================
|
||
|
||
PATCH
|
||
|
||
/databases/{uuid}
|
||
|
||
Update database by UUID.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/update-database-by-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-database-by-uuid#parameters)
|
||
|
||
-------------------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
uuid\*
|
||
|
||
UUID of the database.
|
||
|
||
Type
|
||
|
||
string
|
||
|
||
Required
|
||
|
||
Request Body[](https://coolify.io/docs/api-reference/api/operations/update-database-by-uuid#request-body)
|
||
|
||
-----------------------------------------------------------------------------------------------------------
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"name": "string",
|
||
|
||
"description": "string",
|
||
|
||
"image": "string",
|
||
|
||
"is\_public": true,
|
||
|
||
"public\_port": 0,
|
||
|
||
"public\_port\_timeout": 0,
|
||
|
||
"limits\_memory": "string",
|
||
|
||
"limits\_memory\_swap": "string",
|
||
|
||
"limits\_memory\_swappiness": 0,
|
||
|
||
"limits\_memory\_reservation": "string",
|
||
|
||
"limits\_cpus": "string",
|
||
|
||
"limits\_cpuset": "string",
|
||
|
||
"limits\_cpu\_shares": 0,
|
||
|
||
"postgres\_user": "string",
|
||
|
||
"postgres\_password": "string",
|
||
|
||
"postgres\_db": "string",
|
||
|
||
"postgres\_initdb\_args": "string",
|
||
|
||
"postgres\_host\_auth\_method": "string",
|
||
|
||
"postgres\_conf": "string",
|
||
|
||
"clickhouse\_admin\_user": "string",
|
||
|
||
"clickhouse\_admin\_password": "string",
|
||
|
||
"dragonfly\_password": "string",
|
||
|
||
"redis\_password": "string",
|
||
|
||
"redis\_conf": "string",
|
||
|
||
"keydb\_password": "string",
|
||
|
||
"keydb\_conf": "string",
|
||
|
||
"mariadb\_conf": "string",
|
||
|
||
"mariadb\_root\_password": "string",
|
||
|
||
"mariadb\_user": "string",
|
||
|
||
"mariadb\_password": "string",
|
||
|
||
"mariadb\_database": "string",
|
||
|
||
"mongo\_conf": "string",
|
||
|
||
"mongo\_initdb\_root\_username": "string",
|
||
|
||
"mongo\_initdb\_root\_password": "string",
|
||
|
||
"mongo\_initdb\_database": "string",
|
||
|
||
"mysql\_root\_password": "string",
|
||
|
||
"mysql\_password": "string",
|
||
|
||
"mysql\_user": "string",
|
||
|
||
"mysql\_database": "string",
|
||
|
||
"mysql\_conf": "string"
|
||
|
||
}
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/update-database-by-uuid#responses)
|
||
|
||
-----------------------------------------------------------------------------------------------------
|
||
|
||
200400401404422
|
||
|
||
Database updated
|
||
|
||
PATCH
|
||
|
||
/databases/{uuid}
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/update-database-by-uuid#playground)
|
||
|
||
-------------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
uuid\*
|
||
|
||
Body
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/update-database-by-uuid#samples)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|