Skip to main content
PATCH
Update the current user's switches for one notification type

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

slug
string
required

The notification type, such as preview_comment_mention for mentions on theme preview comments

Required string length: 1 - 64

Body

application/json
notification_preference
object
required

The switches to change. A switch left out keeps its value.

Response

Success

notification_preference
object
required

One person's switches for one notification type.

meta
object | null
required