Update MailReplyAddress
PATCH {{baseUrl}}/api/v1/mailReplyAddress/:mailReplyAddress_id
This API updates details of an existing MailReplyAddress.
OAuth Scope
Desk.settings.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
departmentId | <long> | ID of the department(s) in which the MailReplyAddress is configured |
displayName | <string> max chars : 100 | Display Name |
isActive | <boolean> | Key that returns if the MailReplyAddress is active or not |
isSmtpEnabled | <boolean> | Is SMTP Enabled |
serviceProviderType | <string> max chars : 50 | MailService Provider name |
smtpDetails | <JSONObject> | Details related to the SMTP authentication for the MailReplyAddress |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"address":"techsupport@zylker.com","isVerified":true,"displayName":"TechSupport","departmentId":"4000000007043","id":"4000000028003","isActive":true,"url":"https://login.microsoftonline.com/common/oauth2/v2.0/authorize?prompt=select_account\u0026access_type=offline\u0026scope=https://outlook.office.com/IMAP.AccessAsUser.All+https://outlook.office.com/POP.AccessAsUser.All+https://outlook.office.com/SMTP.Send+https://outlook.office.com/User.Read+https://outlook.office.com/Mail.ReadWrite.Shared+offline_access\u0026response_type=code\u0026redirect_uri=https://mail.zoho.com/api/accounts/Outlook/v2/redirect\u0026state=dA700Cyn67320K8B8Ld0yRt9P3wc20Lli677\u0026client_id=c12b-b8d1-860624b\u0026login_hint=infotech@zylker.com","serviceProviderType":"ZohoSMTP|CustomSMTP"}