Get the admin's preferences
/portal/v1/me/preferencesReturns the calling admin's UI preferences, currently the ui_hints_dismissed map of dismissed hint keys → true. Preferences are user-scoped (no Account or Application in the path) and back the dashboard's persistent UI state. When the user has never set a preference no row is created; an empty preferences shape is returned instead.
Authentication
Bearer Token
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Responses
application/json
data *UserPreferencesResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/portal/v1/me/preferences" \ -H "Authorization: Bearer $CANOPY_TOKEN"
{ "data": { "ui_hints_dismissed": { "applications_intro": true, "access_control_intro": true } } }
Tell us how we can improve this guide.