Skip to contentDevelopersPrezly website
Sender addresses

Delete Sender Address

Remove an unused, non-default custom sender identity.

Personal tokens are not supported for this endpoint. Use an integration API key. Your account must also have access to the requested data. Authentication

Default and Prezlymail identities cannot be deleted and return 405. Successful deletion returns an empty 204.

Read the guide

DELETE
/sender-addresses/{id}
  • It is not allowed to delete the default sender address. An error will be returned (405 Method Not Allowed).
  • It is not allowed to delete a Prezlymail sender address. An erorr will be returned (405 Method Not Allowed).

Default and Prezlymail addresses are protected with HTTP 405. Choose another default before deleting the former default.

Personal access tokens are not supported for this endpoint. Use an integration API key with the required permissions.

Authorization

API_key
headerAuthorizationBearer <token>

Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.

Path Parameters

id*number

Sender Address ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.prezly.com/v2/sender-addresses/0'
Example Response
Empty