def METHOD_NAME(tenant_id):
    with pg_client.PostgresClient() as cur:
        cur.execute(
            cur.mogrify(f"""SELECT *, openreplay_version() AS version_number,
                            (SELECT email FROM public.users WHERE tenant_id=%(tenant_id)s AND role='owner' LIMIT 1) AS email
                            FROM public.tenants 
                            WHERE tenant_id=%(tenant_id)s
                            LIMIT 1;""", {"tenant_id": tenant_id}))
        data = cur.fetchone()
        requests.post('https://api.openreplay.com/os/signup', json=process_data(data))