2.3 KiB
Return to top
Create (KeyDB)
===========================================================================================================
POST
/databases/keydb
Create a new KeyDB database.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Request Body
application/json
SchemaJSON
JSON
{
"server_uuid": "string",
"project_uuid": "string",
"environment_name": "string",
"environment_uuid": "string",
"destination_uuid": "string",
"keydb_password": "string",
"keydb_conf": "string",
"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,
"instant_deploy": true
}
Responses
200400401422
Database updated
POST
/databases/keydb
Playground
Authorization
bearerAuth
Body
Try it out
Samples
Powered by VitePress OpenAPI