def map_remove(self, key, mapkey, **kwargs):
        """
        Remove an item from a map.

        :param str key: The document ID
        :param str mapkey: The key in the map
        :param kwargs: See :meth:`mutate_in` for options
        :raise: :exc:`IndexError` if the mapkey does not exist
        :raise: :cb_exc:`NotFoundError` if the document does not exist.

        .. Remove a map key-value pair:

            cb.map_remove('a_map', 'some_key')

        .. seealso:: :meth:`map_add`
        """
        op = SD.remove(mapkey)
        sdres = self.mutate_in(key, op, **kwargs)
        return self._wrap_dsop(sdres)
Remove an item from a map.

        :param str key: The document ID
        :param str mapkey: The key in the map
        :param kwargs: See :meth:`mutate_in` for options
        :raise: :exc:`IndexError` if the mapkey does not exist
        :raise: :cb_exc:`NotFoundError` if the document does not exist.

        .. Remove a map key-value pair:

            cb.map_remove('a_map', 'some_key')

        .. seealso:: :meth:`map_add`