Modifying a Message Template
URI
- Parameter description
Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID
message_template_id
Yes
String
Unique resource ID of a topic. You can obtain it by referring to Querying Message Templates.
Request
- Parameter description
Parameter
Mandatory
Type
Description
content
Yes
String
Template content, which currently supports plain text only
The template content cannot be left blank or larger than 256 KB.
- Example request
PUT https://{SMN_Endpoint}/v2/{project_id}/notifications/message_template/b3ffa2cdda574168826316f0628f774f
{ "content": "(1/22)You are invited to subscribe to topic({topic_id_id1}). Click the following URL to confirm subscription:(If you do not want to subscribe to this topic, ignore this message.)" }
Response
- Parameter description
Parameter
Type
Description
request_id
String
Request ID, which is unique
- Example response
{ "request_id": "5fcba32bd2814ea39431829c22bda94b" }
Returned Value
See Returned Value.
Error Codes
See Error 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