Amazon SNS Notifications
Update an Amazon SNS channel
Updates the specified Amazon SNS notification channel.
When you make a PUT request, Nylas replaces all data in the nested object with the information included in your request. For more information, see Updating objects.
put/v3/channels/sns/{id}
Path parameters
idstring required
The ID of the Amazon SNS channel to update.
Request body
Example request
{
"description": "Prod account status notifications SNS",
"topic": "arn:aws:sns:us-east-1:123456789012:my-topic",
"role_arn": "arn:aws:iam::123456789012:role/nylas-sns-role",
"notification_email_addresses": [
"sysadmin@example.com",
"sre_pager@example.com"
],
"compressed_delivery": true
}Response
Amazon SNS channel updated
Example response
{
"data": {
"id": "UMWjAjMeWQ4D8gYF2moonK4486",
"description": "Production SNS channel",
"topic": "arn:aws:sns:us-east-1:123456789012:my-topic",
"role_arn": "arn:aws:iam::123456789012:role/nylas-sns-role",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
],
"status_updated_at": 1234567890,
"created_at": 1234567890,
"updated_at": 1234567890
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.