Updates an SSL certificate for a gateway.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateSSLCert |
update |
*Gateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainId |
integer |
No |
The ID of the domain name. |
210 |
| CertIdentifier |
string |
Yes |
The ID of the certificate. |
5951436-cn-hangzhou |
| GatewayUniqueId |
string |
Yes |
The unique ID of the gateway. |
gw-2a99625886d54722be94d92e9a69**** |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
CA689BED-08F3-54C2-A206-A0924E2ACA0A |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
The request is successfully processed. |
| Code |
integer |
The response code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
boolean |
Indicates whether the certificate was updated. |
true |
Examples
Success response
JSON format
{
"RequestId": "CA689BED-08F3-54C2-A206-A0924E2ACA0A",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.