Changing the Name of a Certificate
Function Description
This API is used to change the name of a certificate.
URI
Request
Request parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Specifies the certificate name. The maximum length is 256 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. |
Response
Parameter |
Type |
Description |
---|---|---|
id |
String |
Specifies the certificate ID. |
name |
String |
Specifies the certificate name. |
expireTime |
Long |
Specifies the time when the certificate expires. |
timestamp |
Long |
Specifies the time when the certificate is uploaded. |
Examples
A certificate named cert_a is used as an example.
- Request example
{ "name": "cert_b" }
- Response example
{ "id": "388a7789d55b41d1918b3088a8f1e7f3", "name": "cert_b", "expireTime": 1565467166765, "timestamp": 1545467166765 }
Status Code
For details about error status codes, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot