Regions are used in Instances to determine where the Instance is supposed to be relative to.
Region
Field | Type | Inherited from | Description |
---|---|---|---|
Code | Int32 | Region | Gets or sets the Code value |
CommonName | String | Region | Gets or sets the CommonName value |
{
"Code" : "Int32",
"CommonName" : "String"
}
Example in C#
// Returns: IEnumerable<Region>
var region = await client.GetRegionsAsync();
Example in CURL
curl -X GET \
https://keepapi.feenicshosting.com/api/management/regions \
-H 'Authorization: Bearer TOKEN_GOES_HERE'