Delete a saved reply

DELETE
/v1/email/mailboxes/{address}/templates/{name}

Removes one saved reply from an inbox. Mail already sent from it is not affected. A key limited to this one inbox cannot delete one while the inbox sends only from saved replies.

Requires an API key with the mailbox:manage scope.

Authorization

apiKey
headerAuthorizationBearer <token>

A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.

Path Parameters

address*string

The inbox address.

name*string

The name the reply was saved under.

Response Body

Deleted

application/json
  1. response
deleted*boolean
summary*string
Example Request
curl -X DELETE "https://api.vlayers.ai/v1/email/mailboxes/$MAILBOX_ADDRESS/templates/$TEMPLATE_NAME" \  -H "Authorization: Bearer $VOICELAYER_API_KEY"
Example Response
{  "deleted": true,  "summary": "Deleted the template \"Refund approved\" from [email protected]."}