Skip to main content
POST
/
api
/
organizations
/
v1
/
organizations
Create an organization
curl --request POST \
  --url https://api.example.com/api/organizations/v1/organizations \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "members": [
    {
      "userId": "6234c9542bc6731e3471ade8"
    }
  ],
  "name": "MyNewOrg"
}
'
{
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>"
  },
  "org": {
    "id": "623132867a0af0281c01a69c",
    "members": [
      {
        "userId": "6234c9542bc6731e3471ade8"
      }
    ],
    "name": "MyOrg",
    "defaultEnvironmentId": "6231327c7a0af0281c01a65f"
  }
}

Authorizations

X-Domino-Api-Key
string
header
required

Body

application/json
members
object[]
required
name
string
required

The name for this organization

Example:

"MyNewOrg"

Response

Success

metadata
object
required
org
object
required