Attempts an OAuth token refresh for every Instagram, TikTok, Facebook, and YouTube connection in the profile. For YouTube it also re-reads the channel's title, avatar, and counts. Takes no body. Each account appears in the response only after its new token and expiry have been written, so a success here means the credential is durable, not merely fetched.
This response is not a list of accounts
It uses the aggregate envelope with the accounts key, but the elements are
a different shape — refresh results, not account records. Code that reuses an
account parser here will not find displayName or connectionStatus.
Path parameters
profileIduuidRequired- A profile in your organization. Any other value returns 404 profile_not_found.
Per-account error codes: provider_not_configured, connection_expired,
account_not_found, provider_error.
Errors — 401 unauthorized, 400 invalid_request, 404 profile_not_found,
502 database_error.