GET
/v2/user-preferencesGet user preferences
Retrieves the authenticated user's preference settings. Use this operation to read the user's selected interface language and preferred organization.
200Returns the user's preferences, including the language and preferred organization ID when set.
languagestringoptional
preferredOrganizationIdintegeroptional
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to retrieve preferences.
codestringrequired
paramsarray<object>optional
404Returned when the requested resource is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when the request has no valid Authorization header, and a 403 is returned when the authenticated user is not permitted to retrieve preferences. A 404 is returned when the requested resource is not found.