

@_handle_container_not_found
def delete_metadata(self, container, prefix=None):
    "\n        Removes all of the container's metadata.\n\n        By default, all metadata beginning with the standard container metadata\n        prefix ('X-Container-Meta-') is removed. If you wish to remove all\n        metadata beginning with a different prefix, you must specify that\n        prefix.\n        "
    if (prefix is None):
        prefix = CONTAINER_META_PREFIX
    new_meta = {
        
    }
    curr_meta = self.get_metadata(container, prefix=prefix)
    for ckey in curr_meta:
        new_meta[ckey] = ''
    uri = ('/%s' % utils.get_name(container))
    (resp, resp_body) = self.api.method_post(uri, headers=new_meta)
    return (200 <= resp.status_code <= 299)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.delete_metadata/original