UpdateTopic
Update the topic display name.
PUT /v2/{project_id}/notifications/topics/{topic_urn}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
topic_urn |
Yes |
String |
Unique resource ID of a topic. You can obtain it according to Querying Topics. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
display_name |
No |
String |
Topic display name, which is presented as the name of the email sender in email messages The display name cannot exceed 192 bytes. |
PUT https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regionId:f96188c7ccaf4ffba0c9aa149ab2bd57:test_topic_v2 { "display_name":"testtest222" }
Parameter |
Type |
Description |
---|---|---|
request_id |
String |
Request ID, which is unique |
{ "request_id": "6a63a18b8bab40ffb71ebd9cb80d0085" }
See section Returned Value.
See section Error Code.