Skip to main content
PATCH
Update Preferences
Change any of your notification, email, upload and sharing preferences.

Behavior

  • Send a JSON body with only the sections and keys you want to change. Anything you leave out keeps its value.
  • notifications accepts follows, likes and comments. emails accepts sign_ins. uploads accepts default_privacy, adaptive_streaming, auto_compress, include_metadata and auto_copy_url. sharing accepts share_policy.
  • Every toggle must be a boolean. uploads.default_privacy must be public, unlisted or private. sharing.share_policy must be everyone, following or nobody.
  • An unknown key or a wrong value returns 400 and nothing is saved.
  • The response is the full set of preferences after the change. See Get Preferences for what each one does.
  • Shares a rate limit bucket with Get Preferences: 20 requests per minute.

Examples

Responses

Errors

Authorizations

relay-key
string
header
required

Your relay key from snipp.gg/settings/relay

Body

application/json
notifications
object
emails
object
uploads
object
sharing
object

Response

Success

notifications
object
required
emails
object
required
uploads
object
required
sharing
object
required