Skip to content

Delete Template

Request

Delete the selected template

Security
HTTP_BASIC
Query
namestringrequired

desired template to preview

countrystringrequired

country this template is for

typestring

Type of template

Default:"email"
Enum:"email""sms"
Example:type=email
Bodytext/html
string
curl -i -X DELETE \
  -u '<username>:<password>' \
  'https://tapi.avanser.com/v1/templates?name=string&country=string&type=email' \
  -H 'Content-Type: text/html' \
  -d string

Responses

Successful response

Bodyapplication/json
@transactionobject
responseobject
Response
{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "5995", "request": { … } }, "response": { "message": "Success", "code": 200 } }