mails

edit mail server

Changed on
patch/api/v1/mails/{mailServerID}

Request

  • Base URL
    https://mail-service.liara.ir
  • URL
    https://mail-service.liara.ir/api/v1/mails/{mailServerID}
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

mailServerIDstring required

Request body

mode'DEV' | 'LIVE' required
inboundSpamThresholdnumber required

Response

OK

statusstring

Changes

    • breaking

      added the new required request property

    • info

      api operation id changeMailServerMode removed and replaced with editMailServer

    • breaking

      removed the media type */* from the request body

    • info

      added the media type application/json to the request body

    • info

      added the media type application/json for the response with the status