Skip to content

Create GraphQL mutation to create an Organization

Thong Kuah requested to merge graphql_mutation_organization_create into master

What does this MR do and why?

Related issue: #417891 (closed)

Create GraphQL mutation to create an Organization

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Screenshot_2023-10-30_at_3.51.06_PM

How to set up and validate locally

  1. Run the following mutation: http://127.0.0.1:3000/-/graphql-explorer
mutation {
  organizationCreate(input: {name: "test", path: "test"}) {
    organization{
      name
    }
  }
}

You should see a new organization created

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports