Brevo::UpdateExternalFeed
Name
Type
Description
Notes
name
String
Name of the feed
[optional]
url
String
URL of the feed
[optional]
auth_type
String
Auth type of the feed: * `basic` * `token` * `noAuth`
[optional]
username
String
Username for authType `basic`
[optional]
password
String
Password for authType `basic`
[optional]
token
String
Token for authType `token`
[optional]
headers
Array<GetExternalFeedByUUIDHeadersInner>
Custom headers for the feed
[optional]
max_retries
Integer
Maximum number of retries on the feed url
[optional][default to 5]
cache
Boolean
Toggle caching of feed url response
[optional][default to false]
require 'brevo'
instance = Brevo ::UpdateExternalFeed . new (
name : New feed ,
url : http ://requestb.in/ 173 lyyx1 ,
auth_type : null ,
username : user ,
password : password ,
token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 . eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ . SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c ,
headers : [ { " ; name " ; :" ; header1 " ; , " ; value " ; :" ; value1 " ; } , { " ; name " ; :" ; header2 " ; , " ; value " ; :" ; value2 " ; } ] ,
max_retries : 5 ,
cache : true
)