DeleteMembersByIdProfilePicture
Function: deleteMembersByIdProfilePicture()
deleteMembersByIdProfilePicture<
ThrowOnError>(options):RequestResult<DeleteMembersByIdProfilePictureResponses,DeleteMembersByIdProfilePictureErrors,ThrowOnError>
Defined in: app/api/sdk.gen.ts:605
Removes a member's profile picture and reverts their profile to use a default avatar. The DeleteProfilePicture endpoint handles the deletion of the physical image file and updates the member's record to clear the picture path. This action is restricted to the account owner or authorized staff.
Type Parameters
ThrowOnError
ThrowOnError *extends* boolean = false
Parameters
options
Options<DeleteMembersByIdProfilePictureData, ThrowOnError>
Returns
RequestResult<DeleteMembersByIdProfilePictureResponses, DeleteMembersByIdProfilePictureErrors, ThrowOnError>