Modifying an SMS Signature
Function
This API is used to modify signature information. Currently, only rejected SMS signatures can be modified.
URI
PUT /v2/{project_id}/msgsms/signatures/{id}
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. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
app_id |
Yes |
String |
Primary key ID of the application. For details, see id in Table 5. |
apply_desc |
No |
String |
Application description. |
file_id |
No |
String |
Business license file ID, which is the value of file_id in Table 5. |
is_involved_third |
Yes |
String |
Whether third-party rights and interests are involved.
|
power_attorney_fileid |
No |
String |
File ID of the power of attorney, which is the value of file_id in Table 5. |
signature_name |
Yes |
String |
Signature name. |
signature_source |
Yes |
Integer |
Signature source. Enumerated values:
|
signature_type |
Yes |
String |
Signature type. Enumerated values:
|
source_title_content |
No |
String |
Signature Source Mandatory Value 0 No 1 Yes Website licensed by the Ministry of Industry and Information Technology (MIIT), for example, console.huaweicloud.com 2 Yes App download address 3 Yes Full name of the official account or applet 4 Yes Store address on the e-commerce platform 5 No |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
Primary key ID of the signature. |
signature_id |
String |
Signature ID. |
signature_name |
String |
Signature name. |
Request Example
PUT /v2/845ada5bc7444f1295cd517af0123da1/msgsms/signatures/eb55ddeb-76f3-4e07-94f4-9af775f8a9a7 Host: 100.85.***.***:30300 Content-Type: application/json X-Auth-Token:****** Content-Length: 245 { "app_id":"******9c-1a6b-4ee5-9651-5bca450694b3", "apply_desc":"test", "file_id":"******93-e9e4-4fa9-b9eb-6424f4974c4b", "is_involved_third":"No", "signature_name":"auto_test789", "signature_source":"0", "signature_type":"NOTIFY_TYPE" }
Response Example
{ "id": "******eb-76f3-4e07-94f4-9af775f8a9a7", "signature_id": "******d9-660c-4bd5-ad59-d4be6af32667", "signature_name": "auto_test789" }
Returned Values
Status Code |
Description |
---|---|
200 |
OK |
201 |
Created |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
500 |
System error |
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