Update database by UUID.
Authorization
bearerAuth Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
In: header
Path Parameters
UUID of the database.
Request Body
application/json
Database data
TypeScript Definitions
Use the request body type in TypeScript.
Name of the database
Description of the database
Docker Image of the database
Is the database public?
Public port of the database
Memory limit of the database
Memory swap limit of the database
Memory swappiness of the database
Memory reservation of the database
CPU limit of the database
CPU set of the database
CPU shares of the database
PostgreSQL user
PostgreSQL password
PostgreSQL database
PostgreSQL initdb args
PostgreSQL host auth method
PostgreSQL conf
Clickhouse admin user
Clickhouse admin password
DragonFly password
Redis password
Redis conf
KeyDB password
KeyDB conf
MariaDB conf
MariaDB root password
MariaDB user
MariaDB password
MariaDB database
Mongo conf
Mongo initdb root username
Mongo initdb root password
Mongo initdb init database
MySQL root password
MySQL password
MySQL user
MySQL database
MySQL conf
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://app.coolify.io/api/v1/databases/string" \ -H "Content-Type: application/json" \ -d '{}'{ "message": "Invalid token."}{ "message": "Unauthenticated."}{ "message": "Resource not found."}{ "message": "Validation error.", "errors": { "name": [ "The name field is required." ], "api_url": [ "The api url field is required.", "The api url format is invalid." ] }}