Users

Get user details

get

Update user info

put

Delete user

delete

Single Database

https://api.xata.io/workspaces/workspace_id/dbs/db_name

Given a parameter `db_name`, this path allows interacting with a specific database on Xata. Below are a number of operations that can be performed on a given database.

Expected parameters

NameDescriptionInRequiredSchema
workspace_id

Workspace ID

path✅string
db_name

The Database Name

path✅string

Create Database

PUT
https://api.xata.io/workspaces/workspace_id/dbs/db_name

Create Database with identifier name

Request Body Type Definition

Responses

Delete Database

DELETE
https://api.xata.io/workspaces/workspace_id/dbs/db_name

Delete a database and all of its branches and tables permanently.

Responses

Get Database Metadata

GET
https://api.xata.io/workspaces/workspace_id/dbs/db_name

Retrieve metadata of the given database

Responses

Update Database Metadata

PATCH
https://api.xata.io/workspaces/workspace_id/dbs/db_name

Update the color of the selected database

Request Body Type Definition

Responses