def METHOD_NAME(aid, v):
	aid = aid
	a = g.db.query(OauthApp).filter_by(id=aid).one_or_none()
	if a.author_id != v.id: abort(403)
	a.client_id = secrets.token_urlsafe(64)[:64]
	g.db.add(a)
	g.db.commit()
	return {"message": "Client ID Rerolled", "id": a.client_id}