sendsend.email

Remove a share link

DELETE/v1/emails/{id}/shares/{shareId}

Stops a link working straight away.

Required scope: emails:read

Parameters

NameInDescription
idrequiredpathThe email id.
shareIdrequiredpathThe share link id.

Example

curl -X DELETE 'https://api.sendsend.email/v1/emails/ID/shares/{shareId}' \
  -H "Authorization: Bearer $SENDSEND_API_KEY"

Response 200

{
  "id": "shr_4Tq9…",
  "object": "email_share",
  "revoked": 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.