OpenIsle Docs
API 概览
List notifications GET
List email preferences GET Update email preference POST
Api
Notifications
Email prefs

# Update email preference

Update email notification preference

POST
/`api`/`notifications`/`email-prefs`

## Authorization

AuthorizationBearer <token>

In: `header`

## Request Body

type?string
Value in`"POST_VIEWED" | "COMMENT_REPLY" | "REACTION" | "POST_REVIEW_REQUEST" | "POST_REVIEWED" | "POST_DELETED" | "POST_UPDATED" | "POST_SUBSCRIBED" | "POST_UNSUBSCRIBED" | "FOLLOWED_POST" | "USER_FOLLOWED" | "USER_UNFOLLOWED" | "USER_ACTIVITY" | "REGISTER_REQUEST" | "ACTIVITY_REDEEM" | "POINT_REDEEM" | "LOTTERY_WIN" | "LOTTERY_DRAW" | "POLL_VOTE" | "POLL_RESULT_OWNER" | "POLL_RESULT_PARTICIPANT" | "POST_FEATURED" | "MENTION"`
enabled?boolean

## Response Body

###

    curl -X POST "https://www.open-isle.com/api/notifications/email-prefs" \  -H "Content-Type: application/json" \  -d '{}'

Empty

List email preferences GET

Previous Page

List preferences GET

Next Page

    curl -X POST "https://www.open-isle.com/api/notifications/email-prefs" \
      -H "Content-Type: application/json" \
      -d '{}'