Update Database

Updates database properties.

Authentication

Requires X-Glue-Authentication.

Path Parameters

Parameter Type Description
databaseId uuid The unique identifier of the database

Request Body

Field Type Description
name string New database name

HTTP Request

1PATCH /v1/databases/a1b2c3d4-e5f6-7890-abcd-ef1234567890 HTTP/1.1
2Host: api.hola.cloud
3X-Glue-Authentication: your-glue-token
4Content-Type: application/json
5
6{
7  "name": "renamed-database"
8}

Response

1{
2  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
3  "name": "renamed-database",
4  "creation_date": "2025-06-15T10:30:00Z",
5  "owners": ["owner-id"],
6  "api_keys": ["api-key-id"],
7  "owners_length": 1
8}

Comments

Leave a comment