Mailrelay API Reference

Remove a sender

DELETE /senders/{id}

When removing a sender you must provide the ID of another confirmed sender. This is required because all campaigns and RSS campaigns of the current sender will be moved to another one.

Parameters

NameTypeDescription
id integer ID of the record
new_sender_id integer ID of the new confirmed sender

Responses

StatusDescription
204 Success
404 Couldn't find record with provided ID.
422 A validation error occurred. Check the response body for more information.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.