Applying for Activating a Signature
Function
This API is used to apply for activating a signature.
URI
PUT /v2/{project_id}/msgsms/signatures/{id}/active
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
id |
Yes |
String |
Primary key ID of the signature. For details, see id in Table 5. |
project_id |
Yes |
String |
Project ID. For details, see Obtaining Account, User, and Project Information. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Content-Type |
Yes |
String |
Request body parameter type. This parameter must be set to application/json. |
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a token. |
Request Example
PUT /v2/845ada5bc7444f1295cd517af0123da1/msgsms/signatures/07cfacbb-d48c-4c4d-b3da-baa8e4664852/active Host: 100.85.***.***:30300 Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW X-Auth-Token:****** Content-Length: 38 ----WebKitFormBoundary7MA4YWxkTrZu0gW
Response Example
{ "error_code": "MSGSMS.0130", "error_msg": "Signature status should be to be activated.", "error_detail": "Signature status should be TO_BE_ACTIVATED." }
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