updateHeaderImage abstract method
Update the user’s header image.
Parameters
file
: File image to update header.
Endpoint Url
- PATCH /api/v1/accounts/update_credentials HTTP/1.1
Authentication Methods
- OAuth 2.0
Required Scopes
- read:accounts
Reference
Implementation
Future<MastodonResponse<Account>> updateHeaderImage({
required File file,
});