Mailrelay API Reference

Restore a file that is in trash

PATCH /media_files/{id}/restore

Restore a file that is in trash

Parameters

NameTypeDescription
id integer ID of the record

Responses

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