Set Email Notification Configuration

put

/documents/api/1.2/config/notification/email

Update email notification configuration for this service instance. To update this configuration, you must log in as an administrator.

Request

Supported Media Types
Body ()
The request body defines the details of setting email notification in this service instance.
Root Schema : SetNotificationEmailRequest
Type: object
Set email notification configuration request.
Show Source
Example Request (application/json)
{
    "disableEmailNotifications":"true"
}
Back to Top

Response

Supported Media Types

200 Response

The request was fulfilled.

Body ()
Root Schema : SetNotificationEmailResponse
Type: object
Set email notification configuration response.
Show Source
Example Response (application/json)
{
    "errorCode":"0",
    "type":"config"
}

400 Response

Input value is invalid or value requested did not change.

403 Response

Forbidden if the user does not have Admin role.

Back to Top

Examples

The following example disables email notification for this service instance.

PUT .../config/notification/email

Request Header

None.

Request Body

{
   "disableEmailNotifications": "true"
}

HTTP Status Code

HTTP_STATUS = 200

JSON Response

{
   "errorCode":"0",
   "type":"config"
Back to Top