Update topic
Changes the name, the description or who sees a topic. What holds for a contact who never chose cannot be changed.
/v1/topics/{id}Path parameters
idstringRequiredThe id of the item. Up to 64 characters.
Body parameters
namestringA new name. Up to 120 characters.
descriptionstringA new description. Up to 300 characters.
visibilitystringpublicorprivate.One of
publicprivate
Returns
object"topic"Always
topic.idstringThe id of the topic.
namestringThe name of the topic, as readers see it.
descriptionstringWhat the topic is about, as readers see it. Empty when not set.
defaultSubscriptionstringWhat holds for a contact who never chose:
opt_in, they get it, oropt_out, they do not.One of
opt_inopt_outvisibilitystringpublicwhen every reader sees the topic on the page where they manage their mail,privatewhen only those who chose it do.One of
publicprivatesubscriptionstring | nullWhat the contact you listed the topics for gets:
opt_inoropt_out.nullwhen you named no contact.One of
opt_inopt_outcreatedAtstringWhen the topic was made.