def METHOD_NAME(key, *, session: "Session"):
    """
    Deletes a key.
    :param key: the name for the key.
    :param session: The database session in use.
    """
    session.query(models.DIDKey).filter(key == key).delete()