Users

Get user details

get

Update user info

put

Delete user

delete

Database Branch by Name

https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name

This path allows interacting with a given database branch, referenced by parameter `db_branch_name`, which is expected in the format `database_name:branch_name`.

Expected parameters

NameDescriptionInRequiredSchema
db_branch_name

The DBBranchName matches the pattern `{db_name}:{branch_name}`.

path✅string

Get Branch Schema and Metadata

GET
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name

Responses

Create Database Branch

PUT
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name

Expected parameters

NameDescriptionInRequiredSchema
from

Name of source branch to branch the new schema from

query-string

Request Body Type Definition

Responses

Delete Database Branch

DELETE
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name

Delete the branch in the database and all its resources

Responses