image_host
Put Image Host Config
Save config. If incoming token is empty/masked we keep the existing real token — lets the SPA edit other fields without re-prompting for the PAT.
active_provider is validated against the user's eligibility: 'cloud' requires a paid plan; 'github' requires the github config to have repo+token after the merge step. Invalid choices → 400.
put/api/user_settings/image_host
Query parameters
{"stackTrail":"paths:/api/user_settings/image_host:put:parameters:0:schema","oasType":"schema","type":"unknown","title":"Authorization"}
Request body
Response
Successful Response
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.