code: func CreateOrg(c *m.ReqContext, cmd m.CreateOrgCommand) Response {
  	if !c.IsSignedIn || (!setting.AllowUserOrgCreate && !c.IsGrafanaAdmin) {
  		return Error(403, "Access denied", nil)
  	}
  
  	cmd.UserId = c.UserId
  	if err := bus.Dispatch(&cmd); err != nil {
  		if err == m.ErrOrgNameTaken {
  			return Error(409, "Organization name taken", err)
  		}
  		return Error(500, "Failed to create organization", err)
  	}
  
  	metrics.M_Api_Org_Create.Inc()
  
  	return JSON(200, &util.DynMap{
  		"orgId":   cmd.Result.Id,
  		"message": "Organization created",
  	})
  }
docs: // POST /api/orgs