ProfileAvatarsApi - axios parameter creator export

  • Parameters

    Returns {
        profileAvatarUpload: ((id: string, avatarType?: AvatarTypeEnum, userId?: string, file?: File, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • profileAvatarUpload: ((id: string, avatarType?: AvatarTypeEnum, userId?: string, file?: File, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Upload avatar profile image via file

        • (id, avatarType?, userId?, file?, options?): Promise<RequestArgs>
        • Parameters

          • id: string

            The id of the record you wish to retrieve

          • OptionalavatarType: AvatarTypeEnum

            avatar type contact simpleContarct paymentCycle profile

          • OptionaluserId: string

            The user id to operate on their behalf (tenants only)

          • Optionalfile: File

            avatar image

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>