addOrganization

This mutation allows the creation of a new organization by an admin.

Sample Mutation

Create an organization that has a name experi and a handle called meta

mutation{
  addOrganization(name: "experi" handle: "meta"){
    id
    handle
    name
    jwtIssuerDomain
  }
}

Sample Response

{
  "data": {
    "addOrganization": {
      "id": "432320d3-c12c-433a-bc4e-bcdfade32b08",
      "handle": "meta",
      "name": "experi",
      "jwtIssuerDomain": ""
    }
  }
}

Arguments

NameTypeDescriptionRequired
nameStringThe name of the organization.Yes
handleStringThe nickname of the organization.Yes

Returns

NameTypeDescription
OrganizationObjectContains all the information from Organization that includes the organization ID, name, members, marketplaces, assets, wallets, and the NFT contracts.

Example

Create an organization with a defined name and handle: