Notifications
Turn one kind of notification on or off
put/me/notification-preferences/{kind}/{channel}
Request
- Base URL: https://bodylab.lol/api/v1
- URL: https://bodylab.lol/api/v1/me/notification-preferences/{kind}/{channel}
- Auth: HTTP bearer
Path parameters
kind'today_session' | 'taper_start' | 'reconnect_needed' | 'weekly_review' | 'pattern_heads_up' required
channel'push' | 'email' required
Headers
X-Client-Platformstring
The native client's platform, e.g. ios. Server-side and non-native callers omit it.
X-Client-Versionstring
The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.