private function removeResource(InputInterface $input, OutputInterface $output)
    {
        $resource = $input->getOption('resource');
        $output->writeln(
            sprintf('<comment>Removing resource <info>%s</info></comment>', $resource)
        );

        $api = $this->getCloudinaryApi();

        $response = $api->delete_resources($resource);
        $this->outputApiResponse($response, 'deleted', $output);
    }