Pub/Sub Notifications
Update a Pub/Sub channel
Updates the specified Pub/Sub 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/pubsub/{id}
Path parameters
idstring required
The ID of the Pub/Sub channel to retrieve.
Request body
Example request
{
"description": "Prod account status notifications PubSub",
"topic": "projects/your-project-id/topics/your-topic-id",
"notification_email_addresses": [
"sysadmin@example.com",
"sre_pager@example.com"
],
"compressed_delivery": true
}Response
Pub/Sub channel updated
Example response
{
"data": {
"id": "UMWjAjMeWQ4D8gYF2moonK4486",
"description": "Production Pub/Sub channel",
"topic": "projects/your-project-id/topics/your-topic-id",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
],
"status_updated_at": 1234567890,
"created_at": 1234567890,
"updated_at": 1234567890
}
}