Managed Databases API (v1.0)
Managing databases: creating and scaling database clusters up, restoring from backup, managing users, and more
Access control lists (ACLs) in a Kafka cluster define actions on topics, consumer groups, and the cluster that users can perform. Use these endpoints to grant or restrict permissions by pattern and scope.
List Access Control Lists
Returns a list of Kafka Access Control Lists.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| pattern | string Filter the list result by the |
| pattern_type | string Filter the list result by the |
| status | string Filter the list result by the |
| user_id | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "acls": [
- {
- "allow_read": true,
- "allow_write": true,
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "pattern": "string",
- "pattern_type": "literal",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
]
}Create Access Control List
Creates a new Kafka Access Control List.
Authorizations:
Request Body schema: application/jsonrequired
required | object (ACLCreate) | ||||||||||||
| |||||||||||||
Responses
Request samples
- Payload
{- "acl": {
- "allow_read": true,
- "allow_write": true,
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "pattern": "string",
- "pattern_type": "literal",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 201
- 400
- 401
- 403
{- "acl": {
- "allow_read": true,
- "allow_write": true,
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "pattern": "string",
- "pattern_type": "literal",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Delete Access Control List
Deletes a Kafka Access Control List.
Authorizations:
path Parameters
| acl_id required | string Access Control List identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get Access Control List
Returns a Kafka Access Control list.
Authorizations:
path Parameters
| acl_id required | string Access Control List identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "acl": {
- "allow_read": true,
- "allow_write": true,
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "pattern": "string",
- "pattern_type": "literal",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Update Access Control List
Updates a Kafka Access Control List.
Authorizations:
path Parameters
| acl_id required | string Access Control List identifier. |
Request Body schema: application/jsonrequired
required | object (ACLUpdate) | ||||
| |||||
Responses
Request samples
- Payload
{- "acl": {
- "allow_read": true,
- "allow_write": true
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "acl": {
- "allow_read": true,
- "allow_write": true,
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "pattern": "string",
- "pattern_type": "literal",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Information on actions performed in a cluster, used to track status, timing, and context of changes.
List actions
Returns a list of cluster actions.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| name | string Filter the list result by the |
| status | string Filter the list result by the |
| project_id | string Filter the list result by the |
| request_id | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "actions": [
- {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "finish_time": "1970-01-01T00:00:00",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "string",
- "project_id": "123e4567e89b12d3a456426655440000",
- "request_id": "string",
- "start_time": "1970-01-01T00:00:00",
- "status": "PENDING",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Get action
Returns a specific cluster action.
Authorizations:
path Parameters
| action_id required | string Action identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "action": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "finish_time": "1970-01-01T00:00:00",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "string",
- "project_id": "123e4567e89b12d3a456426655440000",
- "request_id": "string",
- "start_time": "1970-01-01T00:00:00",
- "status": "PENDING",
- "updated_at": "1970-01-01T00:00:00"
}
}Available extensions that can be used to extend the functionality of a database within a cluster.
List available extensions
Returns a list of available extensions.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| name | string Filter the list result by the |
| datastore_type_id | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "available-extensions": [
- {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "dependency_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name"
}
]
}Create available extension Deprecated
Creates a new available extension.
Authorizations:
Request Body schema: application/jsonrequired
required | object (AvailableExtensionCreate) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "available-extension": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "dependency_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "name": "string"
}
}Response samples
- 201
- 400
- 401
- 403
{- "available-extension": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "dependency_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name"
}
}Delete available extension Deprecated
Deletes an available extension and all related records.
Authorizations:
path Parameters
| available_extension_id required | string Available extension identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get available extension
Returns an available extension.
Authorizations:
path Parameters
| available_extension_id required | string Available extension identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "available-extension": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "dependency_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name"
}
}Update available extension Deprecated
Updates an available extension.
Authorizations:
path Parameters
| available_extension_id required | string Available extension identifier. |
Request Body schema: application/jsonrequired
required | object (AvailableExtensionUpdate) | ||||
| |||||
Responses
Request samples
- Payload
{- "available-extension": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "dependency_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
]
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "available-extension": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "dependency_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name"
}
}The set of capabilities available in the region, grouped by feature type. Each capability indicates whether a feature is supported.
List capabilities
Returns a list of service capabilities.
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 403
{- "capabilities": [
- {
- "log_platform_ds_types": {
- "kafka": true,
- "mysql_semisync": true,
- "mysql_sync": true,
- "postgresql": true,
- "redis": true
}
}
]
}Configuration parameters are tunable settings of a cluster that can be changed to adjust its behavior, performance, and security.
List configuration parameters
Returns a list of configuration parameters.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| datastore_type_id | string Filter the list result by the |
| name | string Filter the list result by the |
| ram | string Filter the list result by the |
| vcpus | string Filter the list result by the |
| disk | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "configuration-parameters": [
- {
- "can_be_empty": true,
- "choices": [
- 0
], - "datastore_type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "default_value": 0,
- "factor": 1,
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "invalid_values": [
- 0
], - "is_changeable": true,
- "is_multiple_choice_available": true,
- "is_restart_required": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "type": "string",
- "unit": "string"
}
]
}Create configuration parameter Deprecated
Creates new configuration parameter.
Authorizations:
Request Body schema: application/jsonrequired
required | object (ConfigurationParameterCreate) | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Responses
Request samples
- Payload
{- "configuration-parameter": {
- "can_be_empty": true,
- "choices": [
- 0
], - "datastore_type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "default_value_template": "string",
- "factor": 1,
- "invalid_values": [
- 0
], - "is_available_for_customer": true,
- "is_changeable": true,
- "is_multiple_choice_available": true,
- "is_restart_required": true,
- "max_template": "string",
- "min_template": "string",
- "name": "string",
- "type": "int",
- "unit": "string"
}
}Response samples
- 201
- 400
- 401
- 403
{- "configuration-parameter": {
- "can_be_empty": true,
- "choices": [
- 0
], - "datastore_type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "default_value": 0,
- "factor": 1,
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "invalid_values": [
- 0
], - "is_changeable": true,
- "is_multiple_choice_available": true,
- "is_restart_required": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "type": "string",
- "unit": "string"
}
}Delete configuration parameter Deprecated
Deletes a configuration parameter.
Authorizations:
path Parameters
| configuration_parameter_id required | string Configuration parameter identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get configuration parameter
Returns a configuration parameter.
Authorizations:
path Parameters
| configuration_parameter_id required | string Configuration parameter identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "configuration-parameter": {
- "can_be_empty": true,
- "choices": [
- 0
], - "datastore_type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "default_value": 0,
- "factor": 1,
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "invalid_values": [
- 0
], - "is_changeable": true,
- "is_multiple_choice_available": true,
- "is_restart_required": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "type": "string",
- "unit": "string"
}
}Managing databases within a cluster. Use these endpoints for CRUD operations and to inspect their metadata and status.
List databases
Returns a list of databases in a cluster.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| status | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "databases": [
- {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "lc_collate": "string",
- "lc_ctype": "string",
- "name": "Name",
- "owner_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Create database
Creates a new database in a cluster.
Authorizations:
Request Body schema: application/jsonrequired
required | object (DatabaseCreate) | ||||||||||
| |||||||||||
Responses
Request samples
- Payload
{- "database": {
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "lc_collate": "string",
- "lc_ctype": "string",
- "name": "Name",
- "owner_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 201
- 400
- 401
- 403
{- "database": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "lc_collate": "string",
- "lc_ctype": "string",
- "name": "Name",
- "owner_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Delete database
Deletes a database.
Authorizations:
path Parameters
| database_id required | string Database identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get database
Returns a database.
Authorizations:
path Parameters
| database_id required | string Database identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "database": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "lc_collate": "string",
- "lc_ctype": "string",
- "name": "Name",
- "owner_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Update database
Updates database parameters.
Authorizations:
path Parameters
| database_id required | string Database identifier. |
Request Body schema: application/jsonrequired
required | object (DatabaseUpdate) | ||
| |||
Responses
Request samples
- Payload
{- "database": {
- "owner_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "database": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "lc_collate": "string",
- "lc_ctype": "string",
- "name": "Name",
- "owner_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Managing clusters. Provides endpoints for CRUD operations and to perform operational actions such as rotating passwords, fetching logs/metrics, adjusting configuration, scaling, and toggling protection mode.
List clusters
Returns list of clusters.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| status | string Filter the list result by the |
| enabled | string Filter the list result by the |
| type_id | string Filter the list result by the |
| flavor_id | string Filter the list result by the |
| subnet_id | string Filter the list result by the |
| allow_restore | string Filter the list result by the |
| is_maintenance | string Filter the list result by the |
| is_protected | string Filter the list result by the |
| deleted | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "datastores": [
- {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Create cluster
Creates a new cluster.
Authorizations:
Request Body schema: application/jsonrequired
required | object (DatastoreCreate) | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
Responses
Request samples
- Payload
{- "datastore": {
- "backup_retention_days": 1,
- "config": { },
- "disk": {
- "size": 1,
- "type": "network-ultra"
}, - "flavor": {
- "disk": 1,
- "disk_type": "local",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "floating_ips": {
- "master": 1,
- "replica": 0
}, - "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "mode": "session",
- "size": 1
}, - "project_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "redis_password": "Secret",
- "restore": {
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "target_time": "1970-01-01T00:00:00"
}, - "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "subnet_id": "string",
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 201
- 400
- 401
- 403
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Get clusters count
Returns the number of clusters grouped by their type.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| status | string Filter the list result by the |
| enabled | string Filter the list result by the |
| type_id | string Filter the list result by the |
| flavor_id | string Filter the list result by the |
| subnet_id | string Filter the list result by the |
| allow_restore | string Filter the list result by the |
| is_maintenance | string Filter the list result by the |
| is_protected | string Filter the list result by the |
| deleted | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "kafka": 2,
- "mysql_semisync": 0,
- "mysql_sync": 2,
- "postgresql": 1,
- "redis": 1
}Delete cluster
Deletes cluster with all related entities.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get cluster
Returns a cluster.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Update cluster
Updates cluster parameters.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
object (DatastoreUpdate) | |||
| |||
Responses
Request samples
- Payload
{- "datastore": {
- "name": "Name"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Change cluster configuration parameters
Changes cluster configuration parameters. Send None as value to
reset parameter to default value.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
| config | object |
Responses
Request samples
- Payload
{- "config": { }
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Get cluster databases metrics
Returns all metrics of the cluster databases.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
query Parameters
| start | string Filter the list result by the |
| end | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "metrics": {
- "*": {
- "property1": {
- "avg": 0,
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "last": 0,
- "max": 0,
- "min": 0,
- "timestamps": [
- 0
], - "values": [
- 0
]
}, - "property2": {
- "avg": 0,
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "last": 0,
- "max": 0,
- "min": 0,
- "timestamps": [
- 0
], - "values": [
- 0
]
}
}, - "step": 0
}
}Update cluster firewall rules
Updates cluster firewall rules.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
required | object (DatastoreUpdateFirewall) | ||
| |||
Responses
Request samples
- Payload
{- "firewall": {
- "ips": [
- "127.0.0.1"
]
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Disable cluster logs export
Disables cluster logs export.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Enable cluster logs export
Enables cluster logs export.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
required | object Export parameters of the cluster logs. | ||
| |||
Responses
Request samples
- Payload
{- "log_platform": {
- "log_group": "string"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Get cluster logs
Returns all cluster logs. Applied only for MySQL clusters.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
query Parameters
| job | string Filter the list result by the |
| start | string Filter the list result by the |
| end | string Filter the list result by the |
| limit | string Filter the list result by the |
| ips | string Filter the list result by the |
| databases | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "logs": {
- "datastore_id": "string",
- "ip": "string",
- "labels": {
- "key": "value"
}, - "ts": 0,
- "value": "string"
}
}Get cluster metrics
Returns all metrics of the cluster.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
query Parameters
| start | string Filter the list result by the |
| end | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "metrics": {
- "*": {
- "property1": {
- "avg": 0,
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "last": 0,
- "max": 0,
- "min": 0,
- "timestamps": [
- 0
], - "values": [
- 0
]
}, - "property2": {
- "avg": 0,
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "last": 0,
- "max": 0,
- "min": 0,
- "timestamps": [
- 0
], - "values": [
- 0
]
}
}, - "step": 0
}
}Update cluster password
Updates cluster password. Applied only for Redis clusters.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
required | object (DatastoreUpdatePassword) | ||
| |||
Responses
Request samples
- Payload
{- "password": {
- "redis_password": "Secret"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Update cluster pooler settings
Updates cluster pooler settings.
Authorizations:
path Parameters
| datastore_id required | string |
Request Body schema: application/jsonrequired
required | object Connection pooler settings. Available for PostgreSQL, PostgreSQL for 1C, PostgreSQL TimescaleDB. | ||||||
| |||||||
Responses
Request samples
- Payload
{- "pooler": {
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "mode": "session",
- "size": 1
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Set protection mode
Enables or disables protection mode for the cluster.
When enabled, the cluster cannot be deleted.
Sending true enables it; sending false disables it via the same
endpoint.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
| protection | boolean Indicates whether the cluster is in protection mode. If |
Responses
Request samples
- Payload
{- "protection": true
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Resize cluster
Changes cluster infrastructure configuration.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
required | object (DatastoreResize) | ||||||||
| |||||||||
Responses
Request samples
- Payload
{- "resize": {
- "disk": {
- "size": 1
}, - "flavor": {
- "disk": 1,
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "node_count": 1
}
}Response samples
- 200
- 400
- 401
- 403
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Update cluster security groups
Updates cluster security groups.
Authorizations:
path Parameters
| datastore_id required | string Cluster identifier. |
Request Body schema: application/jsonrequired
| security_groups required | Array of strings <UUID> non-empty unique [ items <UUID > ] List of security groups for the cluster. |
Responses
Request samples
- Payload
{- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
]
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore": {
- "allow_restore": true,
- "backup_retention_days": 0,
- "config": { },
- "connection": {
- "key": "value"
}, - "created_at": "1970-01-01T00:00:00",
- "creation_finished_at": "1970-01-01T00:00:00",
- "databases_count": 0,
- "disk_used": 0,
- "enabled": true,
- "firewall": [
- {
- "ip": "127.0.0.1"
}
], - "flavor": {
- "disk": 1,
- "disk_type": "string",
- "ram": 1,
- "vcpus": 1
}, - "flavor_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "instances": [
- {
- "availability_zone": "string",
- "floating_ip": "127.0.0.1",
- "hostname": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "ip": "127.0.0.1",
- "role": "UNKNOWN",
- "role_name": "string",
- "status": "ACTIVE"
}
], - "is_maintenance": true,
- "is_protected": true,
- "log_platform": {
- "log_group": "string"
}, - "name": "Name",
- "node_count": 1,
- "pooler": {
- "mode": "string",
- "size": 0
}, - "project_id": "123e4567e89b12d3a456426655440000",
- "security_groups": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "status": "ACTIVE",
- "subnet_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "topics_count": 0,
- "type_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "updated_at": "1970-01-01T00:00:00"
}
}Available database engines that can be used to create a cluster (e.g., PostgreSQL, MySQL, etc.).
Get cluster type
Returns cluster type.
Authorizations:
path Parameters
| datastore_type_id required | string Cluster type identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "datastore-type": {
- "engine": "string",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "version": "string"
}
}Managing database extensions — optional features/plugins enabled per database. Provides endpoints to list used extensions, enable or disable them for a database, and inspect their version and status.
List extensions
Returns a list of extensions.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| available_extension_id | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| database_id | string Filter the list result by the |
| status | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "extensions": [
- {
- "available_extension_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Create extension
Creates a new extension.
Authorizations:
Request Body schema: application/jsonrequired
required | object (ExtensionCreate) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "extension": {
- "available_extension_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 201
- 400
- 401
- 403
{- "extension": {
- "available_extension_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Delete extension
Deletes an extension.
Authorizations:
path Parameters
| extension_id required | string Extension identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get extension
Returns an extension.
Authorizations:
path Parameters
| extension_id required | string Extension identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "extension": {
- "available_extension_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Predefined compute configurations (vCPU, RAM, disk) used for cluster nodes. Provides endpoints to list available flavors, view details for specific flavor.
List flavors
Returns a list of flavors.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| name | string Filter the list result by the |
| fl_size | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "flavors": [
- {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "description": "string",
- "disk": 1,
- "fl_size": "standard",
- "host": {
- "available_count": 1,
- "line": "Large",
- "processor": "Intel Gold 6240"
}, - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "ram": 1,
- "subtype": "STANDARD",
- "vcpus": 1
}
]
}Create flavor Deprecated
Creates a new flavor.
Authorizations:
Request Body schema: application/jsonrequired
required | object (FlavorCreate) | ||||||||||||||||||||||
| |||||||||||||||||||||||
Responses
Request samples
- Payload
{- "flavor": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "description": "string",
- "disk": 1,
- "fl_size": "standard",
- "host": {
- "line": "Large",
- "processor": "Intel Gold 6240",
- "total_count": 1
}, - "is_public": true,
- "name": "Name",
- "ram": 1,
- "subtype": "STANDARD",
- "template": "string",
- "vcpus": 1
}
}Response samples
- 201
- 400
- 401
- 403
{- "flavor": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "description": "string",
- "disk": 1,
- "fl_size": "standard",
- "host": {
- "available_count": 1,
- "line": "Large",
- "processor": "Intel Gold 6240"
}, - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "ram": 1,
- "subtype": "STANDARD",
- "vcpus": 1
}
}Delete flavor Deprecated
Deletes a flavor.
Authorizations:
path Parameters
| flavor_id required | string Flavor identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get flavor
Returns a flavor.
Authorizations:
path Parameters
| flavor_id required | string Flavor identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "flavor": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "description": "string",
- "disk": 1,
- "fl_size": "standard",
- "host": {
- "available_count": 1,
- "line": "Large",
- "processor": "Intel Gold 6240"
}, - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "ram": 1,
- "subtype": "STANDARD",
- "vcpus": 1
}
}Update flavor Deprecated
Updates a flavor.
Authorizations:
path Parameters
| flavor_id required | string Flavor identifier. |
Request Body schema: application/jsonrequired
object (FlavorUpdate) | |||||
| |||||
Responses
Request samples
- Payload
{- "flavor": {
- "description": "string",
- "name": "Name"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "flavor": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "description": "string",
- "disk": 1,
- "fl_size": "standard",
- "host": {
- "available_count": 1,
- "line": "Large",
- "processor": "Intel Gold 6240"
}, - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "ram": 1,
- "subtype": "STANDARD",
- "vcpus": 1
}
}Update flavor host Deprecated
Updates flavor host.
Authorizations:
path Parameters
| flavor_id required | string |
Request Body schema: application/jsonrequired
required | object (FlavorUpdateHost) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "host": {
- "line": "Large",
- "processor": "Intel Gold 6240",
- "total_count": 1
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "flavor": {
- "datastore_type_ids": [
- "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
], - "description": "string",
- "disk": 1,
- "fl_size": "standard",
- "host": {
- "available_count": 1,
- "line": "Large",
- "processor": "Intel Gold 6240"
}, - "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "ram": 1,
- "subtype": "STANDARD",
- "vcpus": 1
}
}Managing Floating IPs — externally routable addresses assignable to a node port for public access. Provides endpoints to associate or dissociate them with clusters.
Delete floating IP
Deassociates and deletes a floating IP from provided instance.
Authorizations:
Request Body schema: application/jsonrequired
required | object (FloatingIPRemove) | ||
| |||
Responses
Request samples
- Payload
{- "floating_ip": {
- "instance_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 400
- 401
- 403
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Create floating IP
Creates and associates a floating IP with provided instance.
Authorizations:
Request Body schema: application/jsonrequired
required | object (FloatingIPCreate) | ||
| |||
Responses
Request samples
- Payload
{- "floating_ip": {
- "instance_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 400
- 401
- 403
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Managing privileges assigned to users/roles on a database. Provides endpoints to grant or revoke permissions and to inspect current user access.
List database grants
Returns a list of database grants.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| database_id | string Filter the list result by the |
| user_id | string Filter the list result by the |
| status | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "grants": [
- {
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
]
}Create database grant
Creates a new database grant.
Authorizations:
Request Body schema: application/jsonrequired
required | object (GrantCreate) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "grant": {
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Response samples
- 201
- 400
- 401
- 403
{- "grant": {
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Delete grant
Deletes a database grant.
Authorizations:
path Parameters
| grant_id required | string Grant identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get grant
Returns a database grant.
Authorizations:
path Parameters
| grant_id required | string Grant identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "grant": {
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00",
- "user_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4"
}
}Platform limits for cluster configuration, including per-cluster-type min/max bounds (vCPU, RAM, local disk) and multiplier rules.
Response samples
- 200
- 400
- 401
- 403
{- "limits": [
- {
- "disk_local_max": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "disk_local_min": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "disk_network_ultra_max": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "disk_network_ultra_min": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "disk_types": [
- "string"
], - "disk_vcpus_multiplier": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "ram_max": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "ram_min": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "ram_vcpus_multiplier": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "vcpus_max": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "vcpus_min": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}, - "vcpus_multiplier_min_threshold": {
- "kafka": 1,
- "mysql": 1,
- "mysql_native": 1,
- "postgresql": 1,
- "redis": 1
}
}
]
}Managing logical replication slots for PostgreSQL clusters. Provides endpoints to create, list, and drop slots, and to inspect status/current activity.
Slots retain WAL until consumed — use with care to avoid disk growth.
List logical replication slots
Returns a list of logical replication slots.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| database_id | string Filter the list result by the |
| status | string Filter the list result by the |
| in_use | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "logical-replication-slots": [
- {
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "in_use": true,
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "size": 0,
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Create logical replication slot
Creates a new logical replication slot.
Authorizations:
Request Body schema: application/jsonrequired
required | object (LogicalRepplicationSlotCreate) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "logical-replication-slot": {
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name"
}
}Response samples
- 201
- 400
- 401
- 403
{- "logical-replication-slot": {
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "in_use": true,
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "size": 0,
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Delete logical replication slot
Deletes a logical replication slot.
Authorizations:
path Parameters
| logical_replication_slot_id required | string Logical replication slot identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get logical replication slot
Returns a logical replication slot.
Authorizations:
path Parameters
| logical_replication_slot_id required | string Logical replication slot identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "logical-replication-slot": {
- "created_at": "1970-01-01T00:00:00",
- "database_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "in_use": true,
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "size": 0,
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Managing Prometheus metrics access tokens for customer managed monitoring. Provides endpoints to issue and revoke tokens, and to view list or specific token.
List prometheus metrics tokens
Returns a list of prometheus metric tokens.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| value | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "prometheus-metrics-tokens": [
- {
- "created_at": "1970-01-01T00:00:00",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "updated_at": "1970-01-01T00:00:00",
- "value": "string"
}
]
}Issue prometheus metrics token
Creates a new prometheus metrics token.
Authorizations:
Request Body schema: application/jsonrequired
required | object (PrometheusMetricsTokenCreate) | ||
| |||
Responses
Request samples
- Payload
{- "prometheus-metrics-token": {
- "name": "Name"
}
}Response samples
- 201
- 400
- 401
- 403
{- "prometheus-metrics-token": {
- "created_at": "1970-01-01T00:00:00",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "updated_at": "1970-01-01T00:00:00",
- "value": "string"
}
}Revoke prometheus metrics token
Deletes a prometheus metrics token.
Authorizations:
path Parameters
| prometheus_metrics_token_id required | string |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get prometheus metrics token resource
Returns a prometheus metrics token.
Authorizations:
path Parameters
| prometheus_metrics_token_id required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "prometheus-metrics-token": {
- "created_at": "1970-01-01T00:00:00",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "updated_at": "1970-01-01T00:00:00",
- "value": "string"
}
}Update prometheus metrics token
Updates prometheus metrics token parameters.
Authorizations:
path Parameters
| prometheus_metrics_token_id required | string |
Request Body schema: application/jsonrequired
required | object (PrometheusMetricsTokenUpdate) | ||
| |||
Responses
Request samples
- Payload
{- "prometheus-metrics-token": {
- "name": "Name"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "prometheus-metrics-token": {
- "created_at": "1970-01-01T00:00:00",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "updated_at": "1970-01-01T00:00:00",
- "value": "string"
}
}Quotas are per-project resource limits used to control consumption and limit costs (e.g., clusters, vCPU, RAM, storage, etc.).
Response samples
- 200
- 400
- 401
- 403
{- "quotas": [
- {
- "acls": 0,
- "cores": 0,
- "databases": 0,
- "datastores": 0,
- "disk_local": 0,
- "disk_network_ultra": 0,
- "firewall_rules": 0,
- "in_use_acls": 0,
- "in_use_cores": 0,
- "in_use_databases": 0,
- "in_use_datastores": 0,
- "in_use_disk_local": 0,
- "in_use_disk_network_ultra": 0,
- "in_use_firewall_rules": 0,
- "in_use_local_gb": 0,
- "in_use_prometheus_metrics_tokens": 0,
- "in_use_ram": 0,
- "in_use_topics": 0,
- "in_use_users": 0,
- "local_gb": 0,
- "prometheus_metrics_tokens": 0,
- "ram": 0,
- "topics": 0,
- "users": 0
}
]
}Managing database users within a cluster. Provides endpoints to create, retrieve, update, and delete users, rotate passwords.
List database users
Returns a list of database users.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| status | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "users": [
- {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Create database user
Creates a new database user.
Authorizations:
Request Body schema: application/jsonrequired
required | object (UserCreate) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "user": {
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "password": "Secret"
}
}Response samples
- 201
- 400
- 401
- 403
{- "user": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Delete database user
Deletes a database user.
Authorizations:
path Parameters
| user_id required | string User identifier. |
Responses
Response samples
- 400
- 401
- 403
- 404
{- "error": {
- "code": 400,
- "message": "string",
- "title": "Bad request. Fix the request and try again."
}
}Get database user
Returns a database user.
Authorizations:
path Parameters
| user_id required | string User identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "user": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Update database user
Updates a database user.
Authorizations:
path Parameters
| user_id required | string User identifier. |
Request Body schema: application/jsonrequired
required | object (UserUpdate) | ||
| |||
Responses
Request samples
- Payload
{- "user": {
- "password": "Secret"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "user": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Managing Kafka topics — the logical streams of records. Provides endpoints to create, list, update, and delete topics.
List topics
Returns list of Kafka topics.
Authorizations:
query Parameters
| id | string Filter the list result by the |
| project_id | string Filter the list result by the |
| name | string Filter the list result by the |
| datastore_id | string Filter the list result by the |
| status | string Filter the list result by the |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "topics": [
- {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "partitions": 1,
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
]
}Create topic
Creates a new Kafka topic.
Authorizations:
Request Body schema: application/jsonrequired
required | object (TopicCreate) | ||||||
| |||||||
Responses
Request samples
- Payload
{- "topic": {
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "partitions": 1
}
}Response samples
- 201
- 400
- 401
- 403
{- "topic": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "partitions": 1,
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Get topic
Returns a Kafka topic.
Authorizations:
path Parameters
| topic_id required | string Topic identifier. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
{- "topic": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "partitions": 1,
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}Update topic
Updates Kafka topic parameters.
Authorizations:
path Parameters
| topic_id required | string Topic identifier. |
Request Body schema: application/jsonrequired
required | object (TopicUpdate) | ||
| |||
Responses
Request samples
- Payload
{- "topic": {
- "partitions": 1
}
}Response samples
- 200
- 400
- 401
- 403
- 404
{- "topic": {
- "created_at": "1970-01-01T00:00:00",
- "datastore_id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "id": "20d7bcf4-f8d6-4bf6-b8f6-46cb440a87f4",
- "name": "Name",
- "partitions": 1,
- "project_id": "123e4567e89b12d3a456426655440000",
- "status": "ACTIVE",
- "updated_at": "1970-01-01T00:00:00"
}
}