Update an app integration SMTP
The id of the app integration SMTP.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
The request data transfer object for the SMTP integration.
The type of the SMTP integration.
The name of the SMTP integration.
The host of the SMTP integration.
The port of the SMTP integration.
The username of the SMTP integration.
The password of the SMTP integration.
Flag to indicate if the SMTP integration uses TLS. By default, it is set to false.
Flag to indicate if the SMTP integration is the default. By default, it is set to false.
The description of the SMTP integration.
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user's access was denied.
The user has exceeded the rate limit.
PUT /api/v1/app-integrations/smtp/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"appIntegrationId": "text",
"name": "text",
"host": "text",
"port": 1,
"username": "text",
"password": "text",
"useTls": true,
"isDefault": true,
"description": "text",
"status": "0 - Inactive"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"appIntegration": {
"type": "PaymentGateway",
"name": "Stripe",
"domain": "https://stripe.com",
"description": "Stripe payment gateway",
"logoURL": null,
"status": "Active",
"id": "sApKpllz4sAplsmzha"
},
"name": "SMTP Integration",
"host": "smtp.gmail.com",
"port": 587,
"username": "username",
"password": "password",
"useTls": true,
"isDefault": true,
"description": "SMTP Integration Description",
"status": "Active",
"id": "sApKpllz4sAplsmzha"
},
"errors": []
}
Last updated
Was this helpful?