def unregister_webapi_capabilities(capabilities_id):
    """Unregisters a previously registered set of web API capabilities."""
    try:
        del _registered_capabilities[capabilities_id]
    except __HOLE__:
        logging.error('Failed to unregister unknown web API capabilities '
                      '"%s".',
                      capabilities_id)
        raise KeyError('"%s" is not a registered web API capabilities set'
                       % capabilities_id)
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/server_info.py/unregister_webapi_capabilities