To make API requests, you need to send a request URL using one of the following methods:
-
GET: Retrieves the current values of resources.
-
POST: Creates or updates resources based on the data provided.
-
PUT: Overwrites existing resources.
-
DELETE: Deletes resources.
The following is the basic format of a well-structured URL:
https://<serviceURL>/api/<version>/<resourcePath>
A typical URL used by a Cloud Email Gateway
Protection service has three
significant parts:
-
serviceURL: identifies the root of the Cloud Email Gateway Protection service.The value of serviceURL varies according to your location.LocationService Root URLUnited Statesapi.tmes.trendmicro.comGermanyapi.tmes.trendmicro.euAustraliaapi.tmes-anz.trendmicro.comJapanapi.tmems-jp.trendmicro.comSingaporeapi.tmes-sg.trendmicro.comIndiaapi.tmes-in.trendmicro.comUnited Arab Emiratesapi.tmes-uae.trendmicro.comUnited Kingdomapi.tmes-uk.trendmicro.com
-
version: indicates the version of the REST API. The supported value is v1.
-
resourcePath: identifies the resource to be interacted with.TargetPathDescriptionDomainsdomainsTargets all domains associated with your account.Directory usersdomains/{domain}/usersTargets all the directory users belonging to the specified domain.Policy event logslog/policyeventlogTargets all policy event logs that meet specified criteria.Mail tracking logslog/mailtrackinglogTargets all mail tracking logs that meet specified criteria.
