sendsend.email

Delete a saved block

DELETE/v1/saved-blocks/{id}

Removes it from the saved list. Designs that already use it are not changed.

Required scope: templates:manage

Parameters

NameInDescription
idrequiredpathThe saved block id.

Example

curl -X DELETE 'https://api.sendsend.email/v1/saved-blocks/ID' \
  -H "Authorization: Bearer $SENDSEND_API_KEY"

Response 200

{
  "object": "saved_block",
  "id": "blk_4Tq…",
  "deleted": true
}

Errors

StatusCodeWhen
404not_foundNo such resource in this project.
401unauthorizedThe API key is missing, invalid or revoked.
403forbiddenThe key does not have the scope this endpoint needs.

Every error has the same shape. See Errors.