Available regions
https://api.xata.io/workspaces/workspace_id/regions
This path allows to access the list of available database regions
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
workspace_id | Workspace ID | path | ✅ | string |
List Available Regions
GEThttps://api.xata.io/workspaces/workspace_id/regions
List regions available to create a database on
Responses
type ListRegions = {
/**
* A list of regions where databases can be created
*/
regions: Region[];
};
type Region = {
id: string;
name: string;
};
type ListRegions = {
id?: string;
message: string;
};
{
"message": "invalid API key"
}
type ListRegions = void;