/**
*
* Remove Profile Picture
*
* @return API\Response\ChangeProfilePictureAccountResponse
* @throws Exception
*/
public function removeProfilePicture()
{
if (!$this->isLoggedIn()) {
throw new InstagramException("You must be logged in to call removeProfilePicture().");
}
$request = new RemoveProfilePictureAccountRequest($this);
$response = $request->execute();
if (!$response->isOk()) {
throw new InstagramException(sprintf("Failed to removeProfilePicture: [%s] %s", $response->getStatus(), $response->getMessage()));
}
return $response;
}