InterfaceUpdateCredentialsParams

interface UpdateCredentialsParams {
    avatar?: null | string | Blob;
    bot?: boolean;
    discoverable?: boolean;
    displayName?: null | string;
    fieldsAttributes?: null | AccountField[];
    header?: null | string | Blob;
    hideCollections?: null | boolean;
    locked?: null | boolean;
    note?: null | string;
    source?: null | Partial<Pick<AccountSource, "sensitive" | "language" | "privacy">>;
}

Properties

avatar?: null | string | Blob

Avatar image encoded using multipart/form-data

bot?: boolean

Whether the account has a bot flag.

discoverable?: boolean

Whether the account should be shown in the profile directory.

displayName?: null | string

The display name to use for the profile.

fieldsAttributes?: null | AccountField[]

Profile metadata name and value. (By default, max 4 fields and 255 characters per property/value)

header?: null | string | Blob

Header image encoded using multipart/form-data

hideCollections?: null | boolean

Whether you want to hide followers and followings on your profile

locked?: null | boolean

Whether manual approval of follow requests is required.

note?: null | string

The account bio.

source?: null | Partial<Pick<AccountSource, "sensitive" | "language" | "privacy">>