Promise resolving when profile pictures are successfully deleted
OptionalargOptions: ProfileOptionsRetrieves a profile picture for a specific user and size
User ID whose profile picture to retrieve
Image size variant (thumb, medium, large)
Promise resolving to profile picture response with signed URL
Optionaldata: RegisterFormDataUploads a profile picture for the current user by sending RAW binary image data. API Gateway will base64-encode it and set isBase64Encoded for the Lambda handler.
Accepts Blobs/Buffers/ArrayBuffers/Uint8Arrays or Data URLs/base64 strings.
Size limit: <= 3.5MB (decoded/binary).
OptionalcontentType: stringOptionaldata: SelfRegisterFormData
Deletes the current user's profile pictures