code: def post(self):
          
          self.reqparse.add_argument('name', type=str, required=True)
          self.reqparse.add_argument('color', type=str, required=True)
          args = self.reqparse.parse_args()
  
          role = Role()
          role.name = args['name']
          role.color = args['color']
  
          db.session.add(role)
          db.session.commit()
          auditlog(event='role.create', actor=session['user'].username, data=args)
  
          return self.make_response('Role {} has been created'.format(role.role_id), HTTP.CREATED)
docs: Create a new role