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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request syntax

POST /service/open?type=String HTTP/1.1 
Content-Type:application/json

Request parameters

Table 1. Request query parameters
ParameterTypeRequiredExampleDescription
typeStringNopropayasgo

The type of ACK service that you want to activate. Valid values:

  • propayasgo: professional managed Kubernetes service.
  • edgepayasgo: edge Kubernetes service.
  • gspayasgo: Kubernetes service for Alibaba Cloud Genomics Compute Service (AGS).

Response syntax

HTTP/1.1 200
Content-Type:application/json
{
  "request_id" : "String",
  "order_id" : "String"
}

Response parameters

Table 2. Response body parameters
ParameterTypeExampleDescription
request_idString20758A-585D-4A41-A9B2-28DA8F4F534F

The ID of the request.

order_idString2067*******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.