Update MailReplyAddress

PATCH {{baseUrl}}/api/v1/mailReplyAddress/:mailReplyAddress_id

This API updates details of an existing MailReplyAddress.

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
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

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;address&quot;:&quot;techsupport@zylker.com&quot;,&quot;isVerified&quot;:true,&quot;displayName&quot;:&quot;TechSupport&quot;,&quot;departmentId&quot;:&quot;4000000007043&quot;,&quot;id&quot;:&quot;4000000028003&quot;,&quot;isActive&quot;:true,&quot;url&quot;:&quot;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&quot;,&quot;serviceProviderType&quot;:&quot;ZohoSMTP|CustomSMTP&quot;}