ByCloud Docs
GuidesCLIAPISDK

JavaScript SDK

Regions

Available regions and data centers

1 method

GET

listRegions()

List regions

Example

import { ByCloud } from "@bycoded/bycloud-sdk";
const client = new ByCloud({
token: "YOUR_ACCESS_TOKEN",
});
const result = await client.regions.listRegions();
console.log(result);