HackNotice icon

HackNotice

Call the HackNotice extensions API (alerts, assessments, and more)

Actions85

Assessment Preference → Update Preferences

AI-generated

Summary

Update the user's assessment preferences in the HackNotice API by sending a PUT request with a JSON body.

Inputs

  • Document ID — Mongo-style document ID used in the URL path (not required for.updatePreferences operation as path is /assessmentpreferences).
  • Page Number — Zero-based page index for paginated endpoints, default 0; not used for this operation's path but available as input.
  • Invite Code — Invite code segment used in some routes, not used in this operation.
  • Request Body (required) — JSON object containing preference fields to update; unrelated fields are ignored by the API.

Output shape

a list of updated preference objects as JSON records

The operation returns the updated preferences normalized into a JSON array; no pagination applies.

Links

Discussion