Skip to main content
PATCH
Change the Notification defaults settings

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Query Parameters

dryRun
boolean

Check and report the change without saving it

Body

application/json

The settings to change

isActive
boolean
default:true

Module switch for notification defaults. Currently nothing reads it; the defaults apply whatever its value.

defaultNewsletter
boolean
default:true

Whether a new member starts subscribed to the newsletter.

defaultPush
boolean
default:true

Whether a new member starts with push notifications on.

defaultEmailComment
enum<integer>
default:1

Whether a new member starts with email notifications for comments on. 1 = on (instant), 0 = off.

Available options:
0,
1
defaultEmailIssue
enum<integer>
default:1

Whether a new member starts with email notifications for tasks on. 1 = on (instant), 0 = off.

Available options:
0,
1
defaultEmailVote
enum<integer>
default:1

Whether a new member starts with email notifications for votes on. 1 = on (instant), 0 = off.

Available options:
0,
1
defaultEmailEvent
enum<integer>
default:1

Whether a new member starts with email notifications for events on. 1 = on (instant), 0 = off.

Available options:
0,
1
defaultEmailDiscussion
enum<integer>
default:3

How often a new member gets discussion notification emails: 0 = never, 1 = instantly, 2 = daily digest, 3 = weekly digest.

Available options:
0,
1,
2,
3
defaultEmailTag
enum<integer>
default:1

Whether a new member starts with email notifications for mentions on. 1 = on (instant), 0 = off.

Available options:
0,
1

Response

OK