Update a specific PubSub channel

PUT {{baseUrl}}/v3/channels/pubsub/:id

Update a specific PubSub channel from a specific Nylas application.

Request Body

{"description"=>"<string>", "trigger_types"=>["<string>", "<string>"], "topic"=>"<string>", "status"=>"<string>", "notification_email_addresses"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;trigger_types&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;topic&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;notification_email_addresses&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;status_updated_at&quot;:&quot;\u003cinteger\u003e&quot;,&quot;created_at&quot;:&quot;\u003cinteger\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cinteger\u003e&quot;},&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;}