LocationsApi
Method
HTTP request
Description
locationsFindByRegionId
Examples
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD',
apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LocationsApi(config);
// Get Locations within a Region
api_instance
.locationsFindByRegionId({
regionId: regionId_example,
pretty: true,
depth: 56,
xContractNumber: 56,
options: {}
})
.then((response) => console.log(response.data))
.catch((error) => console.log(error.response.data));Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
locationsFindByRegionIdAndId
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
locationsGet
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated

