You can call the OpenAckService operation to activate a type of Container Service for Kubernetes (ACK) service.
You can activate ACK with Alibaba Cloud accounts or RAM users that have the authority of AdministratorAccess.
Debugging
Request syntax
POST /service/open?type=String HTTP/1.1
Content-Type:application/json
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
type | String | No | propayasgo | The type of ACK service that you want to activate. Valid values:
|
Response syntax
HTTP/1.1 200
Content-Type:application/json
{
"request_id" : "String",
"order_id" : "String"
}
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
request_id | String | 20758A-585D-4A41-A9B2-28DA8F4F534F | The ID of the request. |
order_id | String | 2067*******0374 | The ID of the order. |
Example
Sample requests
POST /service/open?type=propayasgo HTTP/1.1
Content-Type:application/json
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<request_id>20758A-585D-4A41-A9B2-28DA8F4F534F</request_id>
<order_id>2067*******0374</order_id>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"request_id" : "20758A-585D-4A41-A9B2-28DA8F4F534F",
"order_id" : "2067*******0374"
}
Error codes
For a list of error codes, visit the API Error Center.