Topics
Update a topic
PATCH/v1/topics/{id}
Requires an API key with the topics:write scope. About keys and scopes
Admin. Changing mode changes who the topic reaches at once; contacts who chose explicitly keep their choice.
Path parameters
idstringrequireduuid
Request body
namestringoptionalUnique within the workspace.
1–100 characters
descriptionstring | nulloptionalup to 500 characters
modestringoptionalWho the topic reaches: everyone who has not left, or only who joined.
one of
opt_out,opt_in· default"opt_out"
Returns
Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
namestringrequireddescriptionstring | nullrequiredmodestringrequiredopt_outreaches everyone who has not left;opt_inonly those who joined.one of
opt_out,opt_increatedAtstringrequireddate-time
updatedAtstringrequireddate-time