# Alibaba Cloud Certificate Management Service (Original SSL… API

> Alibaba Cloud Certificate Management Service (Original SSL… API on Apizie: 88 endpoints (Adds an AccessKey for authorization, Applies for a certificate, Updates the notification status in batches, Revokes an issued certificate or cancels a pending certificate order and restores the quota, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:aliyun-cas/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-cas`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/cas
- Page: https://zieapi.vercel.app/api/cloud/aliyun-cas
- OpenAPI: https://zieapi.vercel.app/api/cloud/aliyun-cas/openapi.json

Alibaba Cloud OpenAPI for Certificate Management Service (Original SSL Certificate) (cas, version 2020-04-07). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Adds an AccessKey for authorization
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/add-cloud-access` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CloudName | string | no | The cloud service provider. This API supports multiple providers as detailed in the SecretKey parameter description. For example, to add… |
| SecretId | string | no | The Secret ID for accessing the cloud resource set |
| SecretKey | string | no | The secret corresponding to the AccessKey. The value is determined by the `AkType` parameter as follows: 1. If `AkType` is set to… |

### Applies for a certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/apply-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance. You must call the UpdateInstance operation in advance to ensure that all application information for the instance… |

### Updates the notification status in batches
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/batch-update-notice-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| SourceIp | string | no | The source IP address of the request |
| Lang | string | no | The language type for the request and the received message. Valid values: zh: Chinese en: English |
| Ids | string | yes | The list of primary key identifiers to be synchronized to Certificate Management Service. Separate multiple IDs with commas (,) |
| NoticeStatus | string | yes | Specifies whether to enable message notification. --enable: enables message notification. --disable: disables message notification |
| NoticeBiz | string | no | The business code of message notification. The value is fixed as ssl |

### Revokes an issued certificate or cancels a pending certificate order and restores the quota
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/cancel-certificate-for-package-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| OrderId | integer | yes | The ID of the order. Call https://help.aliyun.com/document_detail/455804.html to obtain this ID |

### Cancels a certificate application order that is pending domain verification or under review
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/cancel-order-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| OrderId | integer | yes | The ID of the certificate order to cancel. Obtain this ID by calling https://help.aliyun.com/document_detail/455804.html |

### Revokes a certificate application
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/cancel-pending-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |

### Submits a certificate application by using a purchased certificate package quota
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-certificate-for-package-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Csr | string | no | The content of the certificate signing request (CSR) file that is manually generated by using OpenSSL or Keytool for the domain name. The… |
| ProductCode | string | no | The specifications of the certificate that you want to apply for. Valid values: digicert-free-1-free (default): DigiCert single-domain… |
| Username | string | no | The name of the applicant. If you do not specify this parameter, the information about the most recent contact that is added to the… |
| Phone | string | no | The contact phone number of the applicant. CA staff can call the phone number to confirm the information in your certificate application.… |
| Email | string | no | The email address of the applicant. After the CA receives your certificate application, the CA sends a verification email to the email… |
| Domain | string | no | The domain name that you want to bind to the certificate. The domain name must meet the following requirements: The domain name must be a… |
| CompanyName | string | no | The company name of the certificate application. This parameter is available only when you apply for OV certificates. For more… |
| ValidateType | string | no | The verification method of the domain name ownership. Valid values: DNS: DNS verification. If you use this method, you must add a TXT… |
| Tags | string | no | A list of tags (JSON-encoded) |

### Purchases, applies for, and issues a domain validated (DV) certificate by using extended certificate services
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-certificate-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| ProductCode | string | no | The specifications of the certificate. Valid values: digicert-free-1-free (default): DigiCert single-domain DV certificate, which is free… |
| Username | string | yes | The name of the applicant |
| Phone | string | yes | The phone number of the applicant |
| Email | string | yes | The contact email address of the applicant |
| Domain | string | yes | The domain name that you want to bind to the certificate. You can specify only one domain name. The domain name must match the certificate… |
| ValidateType | string | yes | The method to verify the ownership of a domain name. Valid values: DNS: DNS verification. If you use this method, you must add a TXT… |
| Tags | string | no | A list of tags (JSON-encoded) |

### Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-certificate-with-csr-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Csr | string | yes | The content of the CSR file. The key algorithm in the CSR file must be Rivest-Shamir-Adleman (RSA) or elliptic-curve cryptography (ECC),… |
| ProductCode | string | no | The specifications of the certificate that you want to apply for. Valid values: digicert-free-1-free (default): DigiCert single-domain DV… |
| Username | string | yes | The name of the applicant |
| Phone | string | yes | The phone number of the applicant |
| Email | string | yes | The contact email address of the applicant |
| ValidateType | string | yes | The method to verify the ownership of a domain name. Valid values: DNS: DNS verification. If you use this method, you must add a TXT… |
| Tags | string | no | A list of tags (JSON-encoded) |

### Creates a company
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-company` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CompanyName | string | yes | The name of the company or organization |
| CompanyType | integer | yes | The company type |
| CompanyCode | string | yes | The company code |
| CompanyPhone | string | yes | The phone number of the company |
| CompanyEmail | string | no | The email address of the company |
| CompanyAddress | string | yes | The address of the company |
| Province | string | yes | The province |
| City | string | yes | The city |
| PostCode | string | yes | The postal code |
| CountryCode | string | yes | The country code |
| Department | string | no | The department |
| Lang | string | yes | The language |

### Creates a certificate application contact
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-contact` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Name | string | yes | The name of the certificate contact |
| Mobile | string | yes | The phone number of the contact |
| Email | string | no | The email address of the contact |
| Idcard | string | no | The ID card number of the contact. This parameter is required for the CFCA certificate brand and is not required for other brands |
| Webhooks | string | no | The webhook URLs of DingTalk, WeCom, or Lark chatbots. The value is a string in list format |

### Creates a certificate signing request (CSR) that contains information about an SSL certificate to apply for,…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-csr` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| KeySize | integer | yes | The key length that is used by the algorithm. The key length for RSA algorithms can be 2,048, 3,072, and 4,096 bits. The key length for… |
| Algorithm | string | yes | The algorithm. Valid values: RSA, SM2, and ECC. For more information about algorithms, see… |
| CommonName | string | yes | The primary domain name, which is a common name |
| Sans | string | no | The secondary domain names. Separate multiple domain names with commas (,). You can use the CSR to apply for a certificate for both the… |
| CountryCode | string | yes | The code of the country or region in which the organization is located. For example, you can use CN to indicate China and use US to… |
| Province | string | yes | The province or location where the company is located |
| Locality | string | yes | The city where the company is located |
| CorpName | string | no | The name of the company |
| Name | string | no | The name of the CSR. The name can be up to 50 characters in length and can contain letters, digits, underscores (_), hyphens (-), and… |
| Department | string | no | The department that uses the certificate |

### Creates a certificate deployment task to deploy an SSL certificate to one or more Alibaba Cloud services…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-deployment-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Name | string | yes | The name of the deployment task |
| JobType | string | yes | The type of the deployment task. Valid values: cloud: multi-cloud deployment task. user: cloud service deployment task. This type of task… |
| CertIds | string | yes | The ID of the certificate. Separate multiple certificate IDs with commas (,). You can call the… |
| ResourceIds | string | yes | The ID of the cloud resource. Separate multiple resource IDs with commas (,). You can call the… |
| ContactIds | string | yes | The ID of the contact. Separate multiple contact IDs with commas (,). You can call the… |
| ScheduleTime | integer | no | The time when the task starts. The value is a UNIX timestamp. If you do not specify this parameter, the system immediately starts the task… |

### Rolls back a deployment
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-rollback-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task |
| WorkerId | integer | yes | The ID of the deployment worker |

### Issues a single client certificate from the general user certificate repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-whclient-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| SanType | integer | no | The type of the subject alternative name (SAN) for the client certificate. Valid values: 1: email address. 2: domain name. 6: Uniform… |
| SanValue | string | no | The value of the SAN extension. To specify multiple values, separate them with commas (,) |
| CommonName | string | no | The common name of the client certificate. Supports Chinese, English, and other characters |
| Algorithm | string | no | The key algorithm for the client certificate. The format is ` _ `. Valid values: RSA_1024: The corresponding signature algorithm is… |
| Csr | string | no | The content of the certificate signing request (CSR). You can generate a CSR with tools like OpenSSL or Keytool |
| ParentIdentifier | string | yes | The unique identifier of the issuing subordinate CA certificate |
| Days | integer | no | The validity period of the client certificate, in days. You cannot leave the `Days`, `BeforeTime`, and `AfterTime` parameters all empty.… |
| BeforeTime | integer | no | The issuance time of the client certificate, as a Unix timestamp in seconds. If omitted, this defaults to the time of the API call. The… |
| AfterTime | integer | no | The expiration time of the client certificate, specified as a Unix timestamp in seconds. The `BeforeTime` and `AfterTime` parameters must… |
| Organization | string | no | The organization name associated with the root CA certificate, typically your company or enterprise name. Supports Chinese, English, and… |
| OrganizationUnit | string | no | The name of the department or business unit within the organization |
| Country | string | no | The country where the organization is located |
| State | string | no | The province, municipality, or autonomous region where the organization is located. Chinese, English, and other characters are supported |
| Locality | string | no | The city where the organization is located. Chinese, English, and other characters are supported |
| Years | integer | no | The validity period of the certificate, in years |
| Months | integer | no | The validity period of the certificate, in months |
| Immediately | integer | no | Specifies which certificate content to return in the response. 0: Does not return the certificate (default). 1: Returns the certificate.… |

### Creates a certificate repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/create-warehouse` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Name | string | no | The name of the certificate repository |
| Type | string | no | The type of the certificate repository |
| Biz | string | no | The scenarios of the repository |

### Decrypts data that was encrypted by using a certificate in a certificate application repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/decrypt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertIdentifier | string | no | The unique identifier of the certificate. Call https://help.aliyun.com/document_detail/455806.html to obtain this parameter. The… |
| Algorithm | string | yes | The encryption algorithm. Valid values: RSAES_OAEP_SHA_1 RSAES_OAEP_SHA_256 SM2PKE |
| CiphertextBlob | string | yes | The Base64-encoded data to decrypt |
| MessageType | string | no | The message type. Valid values: RAW: The response returns the plaintext in UTF-8 encoding. Base64 (default): The response returns the… |
| CustomIdentifier | string | no | A custom identifier that serves as a unique key |
| WarehouseId | integer | no | The ID of the repository. Call https://help.aliyun.com/document_detail/455805.html to obtain this ID |

### Deletes a failed domain validated (DV) certificate application order
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-certificate-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| OrderId | integer | yes | The ID of the certificate application order that you want to delete. After you call the… |

### Deletes an access key
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-cloud-access` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| AccessId | string | no | The ID of the access key |

### Deletes a company
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-company` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CompanyId | integer | yes | The company ID |

### Deletes a contact
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-contact` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| ContactId | integer | yes | The contact ID |

### Deletes a certificate signing request (CSR)
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-csr` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CsrId | integer | yes | The ID of the CSR |

### Deletes a certificate deployment task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-deployment-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task |

### Deletes an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| ClientToken | string | no | The client token that is used to ensure the idempotence of the request and prevent repeated submissions. The value is generated by the… |

### Deletes a private certificate from a certificate application repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-pcacert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Identifier | string | yes | The unique identifier of the certificate. You can call the https://help.aliyun.com/document_detail/452331.html operation to query the… |

### Deletes an expired, revoked, or uploaded certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-user-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertId | integer | yes | The certificate ID. You can call https://help.aliyun.com/document_detail/455804.html to obtain the ID |
| ClientToken | string | no | The client token that is used to ensure the idempotence of the request. The value of this parameter is generated by the client and must be… |

### Deletes a certificate warehouse
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-warehouse` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| WarehouseInstanceId | string | no | The certificate warehouse instance ID |

### Deletes a worker task from a certificate deployment task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/delete-worker-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task |
| WorkerId | integer | yes | The ID of the worker for the deployment task |

### Queries the status of a certificate application order, such as domain validation progress
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/describe-certificate-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| OrderId | integer | yes | The ID of the certificate request order to query. You can call https://help.aliyun.com/document_detail/455804.html to obtain this ID |

### Queries the number of cloud resources on which certificates were deployed by using a multi-cloud deployment…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/describe-cloud-resource-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| SecretId | string | no | The AccessKey secret used to access cloud resources. You can call the https://help.aliyun.com/document_detail/2712219.html operation to… |

### Retrieves information about a certificate deployment task, including the task status, target resources, and…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/describe-deployment-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment job. To get the job ID, call the https://help.aliyun.com/document_detail/2712234.html or… |

### Queries the execution status summary of a certificate deployment task, including the number of succeeded and…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/describe-deployment-job-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | no | The ID of the deployment task. You can call the https://help.aliyun.com/document_detail/2712234.html operation to obtain the ID of a… |

### Queries the quota and usage of domain validated (DV) certificate packages
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/describe-package-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| ProductCode | string | no | The specifications of the certificate resource plan. Valid values: digicert-free-1-free (default): DigiCert single-domain domain validated… |

### Retrieves the details of a certificate stored in a certificate warehouse
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/describe-warehouse-cert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertIdentifier | string | no | The unique identifier of the certificate |

### Encrypts data by using a certificate in a certificate application repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/encrypt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Plaintext | string | yes | The data to encrypt. The data can be plaintext or Base64-encoded plaintext. For more information, see the MessageType parameter. If you… |
| CertIdentifier | string | no | The unique identifier of the certificate. To obtain this parameter, call the https://help.aliyun.com/document_detail/455806.html… |
| Algorithm | string | yes | The encryption algorithm. Valid values: RSAES_OAEP_SHA_1 RSAES_OAEP_SHA_256 SM2PKE |
| MessageType | string | no | The message type. Valid values: RAW (default): Directly encrypts the value of Plaintext. Base64: Decodes the Base64-encoded value of… |
| CustomIdentifier | string | no | The custom identifier, which serves as a unique key |
| WarehouseId | integer | no | The repository ID. To obtain this ID, call the https://help.aliyun.com/document_detail/455805.html operation |

### Queries the number of assets
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-asset-count` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |

### Queries the remaining quota for certificate application repository operations
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-cert-warehouse-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |

### Queries the details of a certificate. The certificate content and private key content are not returned
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-certificate-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertificateId | integer | yes | The certificate ID |

### Retrieves the number of certificate resource plans
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-certificate-package-count` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |

### Retrieves the details of a company
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-company` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CompanyId | integer | yes | The company ID |

### Retrieves a contact
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-contact` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| ContactId | integer | yes | The contact ID |

### Queries the content of a certificate signing request (CSR)
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-csr-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CsrId | integer | yes | The ID of the CSR |

### Queries the details of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-instance-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |

### Queries the summary statistics of Certificate Management Service instances, such as certificate counts by…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-instance-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceType | string | no | The instance type. Valid values: BUY: a paid certificate. TEST: a test certificate |

### Retrieves the resources that match a certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-matched-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertIds | string | yes | The certificate IDs |
| ResourceScope | string | no | The resource match scope. This parameter can be empty |
| MaxResults | integer | no | Because of the large number of matched resources, the backend uses aggregation and does not support pagination. This parameter is… |
| NextToken | string | no | Because of the large number of matched resources, the backend uses aggregation and does not support pagination. This parameter is reserved |

### Queries the number of assets with certificate-related risks, such as expired or soon-to-expire certificates
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-risk-count` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |

### Queries the processing result and status of a submitted certificate application
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-task-attribute` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| TaskType | string | no | The type of the asynchronous task. The default value is ApplyCertificate, which specifies a query for the result of a certificate… |
| TaskId | string | yes | The ID of the task |

### Retrieves the details of a certificate, including basic information and public/private key content. You can…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/get-user-certificate-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertId | integer | yes | The certificate ID. You can obtain this ID by calling https://help.aliyun.com/document_detail/455804.html |
| CertFilter | string | no | Specifies whether to filter certificate content. If set to true, the Cert, Key, EncryptCert, EncryptPrivateKey, SignCert, and… |

### Queries the resource statistics list of cloud services
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-asset-count` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| StartDate | integer | no | The certificate issuance date, in seconds. The value is a UNIX timestamp |
| EndDate | integer | no | The certificate expiration date, in seconds. The value is a UNIX timestamp |
| CurrentPage | integer | no | The page number. Default value: 1 |
| ShowSize | integer | no | The number of entries per page |

### This API queries certificates in the certificate store
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-cert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| KeyWord | string | no | The keyword for a fuzzy search by name, domain name, or subject alternative name |
| WarehouseId | integer | no | The warehouse ID. You can obtain this ID by calling the https://help.aliyun.com/document_detail/453246.html API |
| Status | string | no | The certificate status. Valid values: ISSUE: issued REVOKE: revoked |
| SourceType | string | no | The source of the certificate. Valid values: upload: uploaded certificate aliyun: Alibaba Cloud certificate |
| CertType | string | no | The certificate type. Valid values: CA: CA certificate CERT: issued certificate |
| CurrentPage | integer | no | The page number to return. The default value is 1 |
| ShowSize | integer | no | The number of entries per page. The default value is 50 |
| Identifiers | string | no | A comma-separated list of certificate identifiers |

### Queries the list of certificate repositories
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-cert-warehouse` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Name | string | no | The repository name. Fuzzy match is supported |
| InstanceId | string | no | The repository instance |
| Type | string | no | The repository type. Valid values: uploadCA: an uploaded CA certificate that contains a complete certificate chain. uploadPCA: an uploaded… |
| CurrentPage | integer | no | The page number. Default value: 1 |
| ShowSize | integer | no | The number of entries per page. Default value: 50 |

### Retrieves a list of certificates
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-certificates` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Keyword | string | no | The keyword for fuzzy match. The keyword is matched against domain names, names, and corresponding resource IDs |
| InstanceId | string | no | The ID of the instance |
| CertificateStatus | string | no | The status of the certificate. Valid values: issued: Issued. revoked: Revoked. willExpire: About to expire. expired: Expired |
| CertificateSource | string | no | The source of the certificate. Valid values: BUY: a formal certificate. TEST: a test certificate. UPLOAD: an uploaded certificate |
| ResourceGroupId | string | no | The ID of the resource group |
| ShowSize | integer | no | The number of entries per page. Default value: 10. Maximum value: 100 |
| CurrentPage | integer | no | The page number of the current page |

### Queries the AccessKey pairs that are configured for multi-cloud certificate deployment
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-cloud-access` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| SecretId | string | no | The AccessKey ID that is used to access cloud resources |
| CloudName | string | no | The cloud service provider. Set the value to Tencent, which indicates Tencent Cloud |
| CurrentPage | integer | no | The page number. Default value: 1 |
| ShowSize | integer | no | The number of entries per page. Valid values: 10, 20, and 50 |

### Queries the cloud resources on which certificates are deployed, such as Server Load Balancer (SLB) instances…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-cloud-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CloudName | string | no | The cloud service provider. Valid values: Tencent Huawei Aws aliyun |
| CloudProduct | string | no | The cloud service name. Used to filter resources by cloud service. Valid values when CloudName is set to aliyun: SLB: Classic Load… |
| SecretId | string | no | The AccessKey ID that is used to access cloud resources |
| Keyword | string | no | The keyword of the domain name or instance ID bound to the cloud resource |
| CurrentPage | integer | no | The page number. Default value: 1 |
| ShowSize | integer | no | The number of entries per page. Default value: 20 |
| CertIds | string | no | The certificate IDs. Separate multiple IDs with commas (,) (JSON-encoded) |

### Retrieves a list of companies
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-companies` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CurrentPage | integer | no | The page number of the current page. Default value: 1 |
| ShowSize | integer | no | The number of contacts to display per page in a paged query |
| Keyword | string | no | The search keyword. For example, a keyword for the company name, province, country code, or city |
| CompanyId | integer | no | The company ID |

### Retrieves the list of contacts
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-contact` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Keyword | string | no | The search keyword. For example, a keyword in the name, email address, or phone number |
| ShowSize | integer | no | The number of contacts to display per page in a paged query |
| CurrentPage | integer | no | The current page number for pagination. Default value: 1 |

### Queries the certificate signing requests (CSRs) in your account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-csr` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| KeyWord | string | no | The keyword for fuzzy search. For example, you can specify a domain name |
| Algorithm | string | no | The algorithm. Valid values: RSA, ECC, and SM2 |
| CurrentPage | integer | no | The page number. Default value: 1 |
| ShowSize | integer | no | The number of entries per page. Default value: 50 |

### Queries the list of deployment tasks
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-deployment-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobType | string | no | The task type |
| Status | string | no | The deployment task status |
| CurrentPage | integer | no | The current page number. Default value: 1 |
| ShowSize | integer | no | The paging Settings for the number of certificates to return on each page during a paged query. Default value: 50 |
| InstanceId | string | no | The instance ID |
| CertId | integer | no | The certificate ID. You can obtain this ID by calling the https://help.aliyun.com/document_detail/455804.html operation |

### Queries the certificates associated with a deployment task, such as the certificate instance ID, type, and…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-deployment-job-cert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task. You can call the https://help.aliyun.com/document_detail/2712234.html operation to obtain the ID of a… |

### Queries the cloud resources associated with a deployment task. An empty list indicates that the resources…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-deployment-job-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task |

### Retrieves a list of instances
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Keyword | string | no | The keyword for fuzzy search. Matches domain names, instance names, or corresponding resource IDs |
| Status | string | no | The instance status. Valid values: inactive: Pending use. pending: Under review. The latest certificate is being submitted for review.… |
| Brand | string | no | The CA brand. Valid values: WoSign, CFCA, DigiCert, GeoTrust, GlobalSign, vTrus, and Alibaba |
| CertificateType | string | no | The type of the certificate. Valid values: DV, OV, and EV |
| CertificateStatus | string | no | The status of the certificate. Valid values: issued: Issued. revoked: Revoked. willExpire: About to expire. expired: Expired |
| InstanceType | string | no | The instance type. Valid values: BUY (official certificate) and TEST (test certificate) |
| ResourceGroupId | string | no | The resource group ID |
| ShowSize | integer | no | The number of instances to display per page in a paging query. Settings the number of instances displayed per page. Default value: 10.… |
| CurrentPage | integer | no | The page number of the current page in a paging query. Settings the current page number. Default value: 1 |
| ServerDeployFlag | integer | no | Specifies whether to return only instances that meet server deployment conditions. Valid values: 1: is. 0: no |
| AutoReissueFlag | integer | no | Specifies whether the instance is managed. Valid values: 1 (managed) and 0 (not managed) |
| VersionType | string | no | The version type. Valid values: basic (Basic Edition), standard (Standard Edition), professional (Professional Edition), and ultimate… |

### Retrieves a list of tag keys and values
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-tag-keys` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| RegionId | string | yes | The region ID |
| ResourceGroupId | string | no | The resource group ID |
| ResourceType | string | yes | The resource type. The value is fixed as instance |
| PageSize | integer | no | The maximum number of entries per page in a paged query |
| CurrentPage | integer | no | The page number of the current page displayed in a paged query |
| MaxResults | integer | no | The maximum number of entries in the result set. Default value: 20 |
| NextToken | string | no | The token for the next query. An empty value of NextToken indicates that there is no next page |

### Retrieves the tags associated with a resource
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| RegionId | string | yes | The region ID |
| ResourceType | string | yes | The resource type. Default value: instance |
| NextToken | string | no | The pagination token for the next query. If this parameter is empty, no more results exist |
| ResourceId | string | no | The resource ID. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified… |
| Tag | string | no | The information about instances and tags. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key,… |
| MaxResults | integer | no | The maximum number of entries to return. Default value: 20 |

### Retrieves the list of managed orders
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-trustee-order` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertificateId | integer | no | The certificate ID. You must specify either CertificateId or OrderId. Both cannot be empty at the same time |
| OrderId | integer | no | The order ID. You must specify either CertificateId or OrderId. Both cannot be empty at the same time |
| MaxResults | integer | no | The maximum number of records to return in this request |
| NextToken | string | no | The token for the next query. If NextToken is empty, no more results are available |

### Queries the list of user certificates or orders
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-user-certificate-order` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Keyword | string | no | The keyword for fuzzy search. Matches the domain name or the corresponding resource ID |
| Status | string | no | The order status. Valid values: PAYED: Pending application. Valid when OrderType is set to CPACK or BUY. CHECKING: Under review. Valid… |
| OrderType | string | no | The resource type. Default value: CPACK. Valid values: CPACK: resource virtual order. Only orders generated from quotas are returned. BUY:… |
| CurrentPage | integer | no | The page number of the current page in a paginated query |
| ShowSize | integer | no | The number of entries per page in a paginated query. Default value: 50 |
| ResourceGroupId | string | no | The resource group ID. You can obtain this ID by calling the https://help.aliyun.com/document_detail/2716559.html operation |

### Lists warehouses
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-warehouse` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| WarehouseInstanceIds | string | no | A list of warehouse instance IDs (JSON-encoded) |
| WarehouseTypes | string | no | A list of warehouse types (JSON-encoded) |
| NextToken | string | no | The pagination token from a previous response. Use this token to retrieve the next page of results. Omit this parameter for the first… |
| MaxResults | integer | no | The maximum number of entries to return on each page |

### Queries the worker tasks of a deployment task. Each worker task deploys a certificate to a specific cloud…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/list-worker-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task. You can call the https://help.aliyun.com/document_detail/2712234.html operation to obtain the ID of a… |
| Status | string | no | The status of the worker task. Valid values: rollback rollback_error success rollback_success pending scheduling processing error editing |
| CloudProduct | string | no | The cloud service in the deployment task |
| CurrentPage | integer | no | The page number. Default value: 1 |
| ShowSize | integer | no | The number of entries per page. Default value: 50 |

### Changes the resource group to which a certificate or certificate order belongs
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/move-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| ResourceId | string | yes | The ID of the resource |
| ResourceGroupId | string | yes | The ID of the resource group |
| ResourceType | string | yes | The type of the resource. Default value: instance Valid values: instance: certificate order Certificate: certificate |
| RegionId | string | no | The region of the organization to which the owner of the certificate belongs. Valid values: ap-southeast-1 and cn-hangzhou |

### Refunds an instance within 7 days
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/refund-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |

### Submits a renewal application for an issued SSL certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/renew-certificate-order-for-package-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| OrderId | integer | yes | The ID of the certificate application order that you want to renew. After you call the… |
| Csr | string | no | The content of the certificate signing request (CSR) file that is manually generated for the domain name by using OpenSSL or Keytool. The… |
| Tags | string | no | A list of tags (JSON-encoded) |

### Revokes a certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/revoke-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance. This parameter accepts only V2.0 subscription certificate instances (certificates purchased from a CA such as… |
| CertificateId | integer | no | The ID of the certificate to revoke |

### Revokes a client certificate from the certificate repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/revoke-whclient-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Identifier | string | yes | The unique identifier of the client or server certificate to revoke |

### Shares a certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/share-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CertificateId | integer | yes | The certificate ID |
| TargetUserId | integer | yes | The UID of the user with whom the certificate is shared |

### This operation creates a digital signature with a PCA certificate from a certificate repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/sign` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Message | string | yes | The data to sign. The MessageType parameter determines the format of this data. If MessageType is set to RAW, Message is the raw data. If… |
| CertIdentifier | string | no | The unique identifier of the certificate. You can get this value by calling the https://help.aliyun.com/document_detail/455806.html… |
| SigningAlgorithm | string | yes | The signature algorithm. Valid values: `SHA256withRSA` `SHA256withRSA/PSS` `SHA256withECDSA` `SM3withSM2` `SHA256withRSA/P7` |
| MessageType | string | yes | The message type. Valid values: `RAW` (default): The raw data. `DIGEST`: The message digest (hash value) of the raw data. `BASE64`: The… |
| CustomIdentifier | string | no | A unique, user-defined identifier |
| WarehouseId | integer | no | The repository ID. You can get this ID by calling the https://help.aliyun.com/document_detail/455805.html operation |

### Adds resource tags
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| RegionId | string | yes | The region of the organization to which the certificate owner belongs |
| ResourceType | string | yes | The resource type. Default value: instance |
| ResourceId | string | yes | The resource ID (JSON-encoded) |
| Tag | string | no | The tag information of the resource (JSON-encoded) |

### Removes tags
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/untag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| RegionId | string | yes | The region ID |
| ResourceType | string | yes | The resource type. The value is fixed as instance |
| All | string | no | Specifies whether to remove all tags. This parameter is valid only when TagKey.N is empty. Valid values: true false Default value: false |
| ResourceId | string | yes | The resource ID (JSON-encoded) |
| TagKey | string | no | The tag key (JSON-encoded) |

### Updates company information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-company` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CompanyId | integer | yes | The company ID |
| CompanyName | string | yes | The name of the company or organization |
| CompanyType | integer | yes | The company type |
| CompanyCode | string | yes | The company code |
| CompanyPhone | string | yes | The phone number of the company |
| CompanyEmail | string | no | The email address of the company |
| CompanyAddress | string | yes | The address of the company |
| Province | string | yes | The province |
| City | string | yes | The city |
| PostCode | string | yes | The postal code |
| CountryCode | string | yes | The country code |
| Department | string | no | The department |
| Lang | string | no | The language |

### Updates a contact
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-contact` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| ContactId | integer | yes | The contact ID |
| Name | string | no | The name of the certificate contact |
| Mobile | string | no | The phone number of the contact |
| Email | string | no | The email address of the contact |
| Idcard | string | no | The ID card number of the contact. This parameter is required for the CFCA certificate brand and is not required for other brands |
| Webhooks | string | no | The webhook URLs of DingTalk, WeCom, or Lark chatbots. The value is a string in list format |

### Uploads the private key corresponding to a CSR if you did not provide the CSR private key when uploading the…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-csr` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| CsrId | integer | yes | The unique identifier of the CSR. The CsrId is generated when you upload the CSR. You can obtain this value by querying the CSR list. For… |
| Key | string | yes | The certificate private key content in PEM format. This private key must match the public key cryptography contained in the CSR referenced… |

### Updates the configuration of a certificate deployment task, such as the certificates or target resources
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-deployment-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task. You can call the https://help.aliyun.com/document_detail/2712234.html operation to obtain the ID of a… |
| Name | string | no | The name of the deployment task |
| CertIds | string | no | The ID of the certificate. Separate multiple certificate IDs with commas (,). You can call the… |
| ResourceIds | string | no | The ID of the cloud resource. Separate multiple resource IDs with commas (,). You can call the… |
| ContactIds | string | no | The ID of the contact. Separate multiple contact IDs with commas (,). You can call the… |
| ScheduleTime | integer | no | The time when the task starts. The value is a UNIX timestamp. If you do not specify this parameter, the system immediately starts the task… |

### Updates the status of a certificate deployment task, such as changing from editing to pending execution
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-deployment-job-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The ID of the deployment task |
| Status | string | yes | The desired status of the deployment task. Valid values: pending scheduling editing |

### Updates an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| CertificateName | string | no | The name of the instance. When a certificate is issued, this name is used as the default name of the certificate |
| Domain | string | no | The domain name to which the certificate is bound. Requirements: You can specify a single domain name or a wildcard domain name (for… |
| KeyAlgorithm | string | no | The certificate algorithm. Default value: RSA_2048. Valid values: RSA_2048 RSA_3072 RSA_4096 ECC_256 SM2 |
| AutoReissue | string | no | Specifies whether to enable automatic hosting. Valid values: enable: Enabled. disable: Disabled |
| CompanyId | integer | no | The company information ID. This parameter is required for OV and EV certificates. Otherwise, you cannot call the ApplyCertificate… |
| ContactIdList | string | no | The list of contact IDs. If a contact already exists, you do not need to specify this parameter. If no contact has been configured,… |
| GenerateCsrMethod | string | no | The method used to generate the certificate signing request (CSR). Default value: online. Valid values: online: The system generates the… |
| Csr | string | no | The CSR content. You can use OpenSSL or Keytool to generate a CSR. For more information, see… |
| ValidationMethod | string | no | The validation method for the certificate application. Valid values: DNS: DNS validation, which uses TXT or CNAME records. HTTP: File… |
| City | string | no | The city where the company or organization of the certificate purchaser is located. This field is required when generating a CSR for a DV… |
| Province | string | no | The province or region where the company is located. This field is required when generating a CSR for a DV certificate. Default value:… |
| CountryCode | string | no | The country or region code of the certificate organization. For example, CN indicates China and US indicates the United States. This field… |
| ResourceGroupId | string | no | The ID of the resource group |
| Tags | string | no | The list of tags (JSON-encoded) |

### Updates the status of a worker task in a deployment task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/update-worker-resource-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| JobId | integer | yes | The deployment task ID. This ID is returned by https://help.aliyun.com/document_detail/2712234.html. You can also obtain it by calling… |
| WorkerId | integer | yes | The deployment task worker ID. You can obtain this ID by calling https://help.aliyun.com/document_detail/2712224.html |
| Status | string | yes | The target status. Valid values: "editing", "pending", "success", "rollback", "rollback_success", "rollback_error" |

### Uploads an existing certificate signing request (CSR) to Certificate Management Service. After the upload,…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/upload-csr` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Name | string | no | The name of the CSR. The name can be up to 50 characters long and can contain uppercase letters (A–Z), lowercase letters (a–z), digits… |
| Csr | string | yes | The content of the CSR |
| Key | string | no | The content of the certificate's private key in PEM format |

### Uploads a PCA certificate to a certificate repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/upload-pcacert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| WarehouseId | integer | yes | The repository ID. You can call https://help.aliyun.com/document_detail/455805.html to obtain this ID |
| Cert | string | yes | The certificate |
| PrivateKey | string | no | The private key of the certificate |
| Name | string | no | The certificate name |

### Uploads a certificate, including a standard SM certificate or a non-SM certificate
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/upload-user-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Name | string | yes | The custom name of the certificate. Maximum length: 63 characters. Supports all character types, including letters, digits, and… |
| Cert | string | no | The content of the non-SM certificate in PEM format |
| Key | string | no | The private key of the non-SM certificate in PEM format |
| EncryptCert | string | no | The content of the SM encryption certificate in PEM format. This field is ignored if Cert and Key are not empty |
| EncryptPrivateKey | string | no | The private key of the SM encryption certificate in PEM format. This field is ignored if Cert and Key are not empty |
| SignCert | string | no | The content of the SM signing certificate in PEM format. This field is ignored if Cert and Key are not empty |
| SignPrivateKey | string | no | The private key of the SM signing certificate in PEM format. This field is ignored if Cert and Key are not empty |
| ResourceGroupId | string | no | The resource group ID |
| Tags | string | no | The list of tags (JSON-encoded) |
| ClientToken | string | no | The client token used to ensure the idempotence of the request |

### Verifies a data signature by using a private certificate in a certificate application repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/verify` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |
| Message | string | yes | The data to verify. The data must be Base64-encoded. For example, if the hexadecimal content of the data to sign is \`\[0x31, 0x32, 0x33,… |
| CertIdentifier | string | no | The unique identifier of the certificate. To get this parameter, call the https://help.aliyun.com/document_detail/455806.html operation.… |
| SigningAlgorithm | string | yes | The signature algorithm. Valid values: SHA256withRSA SHA256withRSA/PSS SHA256withECDSA SM3withSM2 |
| MessageType | string | yes | The message type. Valid values: RAW (default): The raw data. DIGEST: The message digest of the raw data |
| SignatureValue | string | yes | The signature value. The value must be Base64-encoded |
| CustomIdentifier | string | no | The custom identifier. This key must be unique |
| WarehouseId | string | no | The ID of the repository. To get this parameter, call the https://help.aliyun.com/document_detail/453246.html operation |

### version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cas.ap-southeast-1.aliyuncs.com |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-cas/add-cloud-access" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Certificate Management Service (Original SSL… API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-cas/add-cloud-access with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Certificate Management Service (Original SSL… API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Certificate Management Service (Original SSL… itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Certificate Management Service (Original SSL… API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-cas.

### What is the status of the Alibaba Cloud Certificate Management Service (Original SSL… API?
Needs your own provider key (bring your own key)
