def METHOD_NAME(docname, status):
	doc = frappe.get_doc("Storage Integration Subscription", docname)
	status = int(status)
	if status == 0:
		doc.toggle_user("disable")
	elif status == 1:
		doc.toggle_user("enable")
	frappe.db.commit()