Updated on 2022-08-05 GMT+08:00

Deleting Templates with Specified IDs in Batches

Function

This API is used to delete templates with specified IDs in batches.

URI

POST /v1/sms/vm/templates/delete

Request

Request parameters

For details about the request parameter, see Table 1.

Table 1 Parameter description

Parameter

Mandatory

Type

Description

ids

Yes

Array

Template ID. Use the API provided in Querying the Template List to query the template ID list.

Response

None

Example

  • Example request
    POST  v1/sms/vm/templates/delete
    {
     "ids": ["aaaaa-ccc", "eeeee-xxxx"]
    }
  • Example response

    None

Status Codes

See Status Codes.

Error Codes

See Out-of-Date Error Codes.