Database
The "Database" section facilitates the management of databases, offering endpoints for creating, deleting, updating, and retrieving database information.
Databases are only created with the Kraud.Cloud provider. Currently only Maria, Mongo, Postgres, Redis can be created.
Create database
POST
{{BASE_URL}}/api/databases
Database Creation. Currently, only ( Mongo, Maria, Postgres, Redis ) can be created.
Path Parameters
Name | Type | Description |
---|---|---|
team* | String | Team ID |
project* | String | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer Token |
Request Body
Name | Type | Description |
---|---|---|
database* | Object |
Get databases
GET
{{BASE_URL}}/api/teams/{team}/projects/{project}/databases
Get all active databases for a specific project.
Path Parameters
Name | Type | Description |
---|---|---|
team* | String | Team ID |
project* | String | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer Token |
Get database by ID
GET
{{BASE_URL}}/api/databases/{id}
Get a specific database by unique id.
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | Database ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer Token |
Delete database by ID
DELETE
{{BASE_URL}}/api/databases/{id}
Delete a specific application by unique id.
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | Database ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer Token |
Last updated