# Function description
Update email information and status of whether to send or not
# Request
# Request example
POST /monitor/email/update
Content-Type: application/json
# Request Parameters
none
# Request Headers
Name | Description | Type | Mandatory |
---|---|---|---|
Authorization | User token information | string | Yes |
# Request Body
{
"id": 1,
"email": "test@demo.com",
"status": 1
}
Name | Description | Type | Mandatory |
---|---|---|---|
status | Whether to open the state of sending, 1 send 0 do not send | number | no |
# Response
# Response Header
No special response header
# Response Body
Successful Response Body :
{
"code": 0,
"message": "success",
"data": null
}
The response body of the failed request is
{
"code": <errorCode>,
"message": <errorMessage>,
"data": null
}