Skip to main content
PUT
Update user institution preferences

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

The UserInstitution ObjectId to update

Body

application/json

At least one field is required. If no valid fields are provided, a 400 error is returned.

lastConversation
object
canvasApiToken
favoriteAssistants
string[]

Array of assistant ObjectIds to mark as favorites

acceptedAccountPrivacyPolicyDate

Date when user accepted the account privacy policy

favorite
boolean

Whether to mark this institution as a favorite

Response

User institution preferences updated successfully

success
boolean

Operation success status

Example:

true

message
string

Success message

Example:

"userInstitution preference saved sucessfully"