Deleting a Message Template
Function
This API is used to delete a message template.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/{project_id}/events/notification/templates
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID, which can be obtained from the console or by calling an API. For details, see Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Content-Type |
Yes |
String |
Content type, which is application/json. |
Enterprise-Project-Id |
No |
String |
Enterprise project ID.
|
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
names |
Yes |
Array of strings |
List of message templates to be deleted. |
Response Parameters
Status code: 204
No Content: The request is successful, but no content is returned.
None
Example Requests
Delete the message template named aaa.
https://{Endpoint}/v2/{project_id}/events/notification/templates { "names" : [ "aaa" ] }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
No Content: The request is successful, but no content is returned. |
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