Skip to main content

Update an email preference

PUT 

/auth/email/opt-out/:slug

Turns a single email category on or off.

If the slug belongs to a parent category, every child notification grouped under it is updated to the same value. If the slug belongs to a child notification, only that notification changes.

You cannot opt out of a required category. Updating one returns 400 with the message Cannot update a required email category, whether you send opted_in: true or false.

Request

Responses

Success