VMware Cloud Director API - GET-OrgEmailSettings
GET /admin/org/{id}/settings/email
- Operation:
- GET /admin/org/{id}/settings/email
- Description:
- Retrieve organization email settings.
- Since:
- 1.5
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.admin.organizationEmailSettings+xml
application/vnd.vmware.admin.organizationEmailSettings+json
- Output type:
- OrgEmailSettingsType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/email
Headers:
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 1009
Content-Type: application/vnd.vmware.admin.organizationemailsettings+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><OrgEmailSettings
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/email"
type="application/vnd.vmware.admin.organizationEmailSettings+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/email"
rel="edit"
type="application/vnd.vmware.admin.organizationEmailSettings+xml"/>
<IsDefaultSmtpServer>true</IsDefaultSmtpServer>
<IsDefaultOrgEmail>true</IsDefaultOrgEmail>
<FromEmailAddress/>
<DefaultSubjectPrefix/>
<IsAlertEmailToAllAdmins>true</IsAlertEmailToAllAdmins>
<SmtpServerSettings>
<IsUseAuthentication>false</IsUseAuthentication>
<Host/>
<Port>25</Port>
<Username/>
</SmtpServerSettings>
</OrgEmailSettings>