Get SMTP server settings status
GET /api/system_settings/smtp_server_status
GET /api/system_settings/smtp_server_statusInteractive request editor loads with JavaScript.
Authorization
BearerAuth DeveloperIDHeader AuthorizationBearer <token>
In: header
X-Portal-Developer-ID<token>
In: header
Response Body
application/json
application/json
application/json
curl -X GET "$API_BASE_URL/api/system_settings/smtp_server_status"{
"enable": true
}Bad request.
{
"status": 400,
"message": "error message"
}Unauthorized.
{
"status": 401,
"message": "unauthorized"
}Internal server error.
Complete operation details and schema variants
GET /api/system_settings/smtp_server_status
Get SMTP server settings status
Get SMTP server settings status.
Parameters
Responses
200:enable(boolean, required): Enable SMTP Server.400: Bad request.status(integer, required): The HTTP status code of the error response.message(string, required): The error message.401: Unauthorized. Response fields (application/json): identical toGET /api/system_settings/smtp_server_status, response 400 above.500: Internal server error.
cURL
curl -X GET '$API_BASE_URL/api/system_settings/smtp_server_status'