Start Usage of Region (POST /v1/contracts/{domain_id}?action=startRegion)
Start the use of the specified region.
- {domain_id}:
- Domain ID of the intended subscriber's organization.
Request Headers
Please refer to "Common API Items".
Response Elements
contract
Container of contract information.
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Element | 1..1 | None | regions |
regions
Container of region information.
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Element | 1..1 | contract | id |
id
ID of region in use.
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | 1..* | Regions | None |
Response Headers
Status
In the case of "normal", the status below will be returned.
- 200:
- Successful completion
In case of abnormality, please refer to "Common API Error Information".
Data Type | Cardinality |
---|---|
Int | 1..1 |
Response Elements
None
Example of Request
POST /v1/contracts/fc8c41d7e36d49f7b66a3f9b1e25fc16?action=startRegion
HTTP/1.1
Content-Type: application/json
X-Auth-Token: "JpZCI6ICJjM2VlNzA4YTZhZTI0ZGRmOTJjMDc4..."
{
"contract": {
"regions": [
{
"id": "jp-east-1"
},
{
"id": "uk-1"
}
]
}
}
Example of Response
HTTP/1.1 200 OK
Content-Length: 0
Content-Type: application/json;charset=UTF-8