Mailrelay API Reference

Cancel a import that is in progress

PATCH /imports/{id}/cancel

This will stop and permanently cancel a import. It can't be resumed later.

Parameters

NameTypeDescription
id integer ID of the record

Responses

StatusDescription
204 Success
404 Couldn't find record with provided ID.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.
409 Returned when import can't be cancelled. This can happen when it has already finished.