@app.route('/account/<subscription_id>/providers/<provider_namespace>/unregister', methods=['POST'])
@auth.require_login
def provider_unregister_post(subscription_id, provider_namespace):
 creds = _get_credentials()
 models.unregister_provider(subscription_id, creds, provider_namespace)
 return redirect(url_for('subscription_view', subscription_id=subscription_id))

@ app . route ( '/account/<subscription_id>/providers/<provider_namespace>/unregister' , methods = [ 'POST' ] ) @ auth . require_login def provider_unregister_post ( subscription_id , provider_namespace ) : creds = _get_credentials ( ) models . unregister_provider ( subscription_id , creds , provider_namespace ) return redirect ( url_for ( 'subscription_view' , subscription_id = subscription_id ) )
unregister provider request .