Skip to main content
POST
/
governance
/
organizations
Create a new organization
curl --request POST \
  --url https://api.example.com/governance/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating a new organization.

id
string
required

Unique identifier for the organization (used as Keycloak realm ID)

Required string length: 1 - 255
name
string
required

Display name of the organization

Required string length: 1 - 255
description
string | null

Optional description of the organization

Maximum string length: 1000

Response

Successful Response

Response after successfully creating an organization.

id
string
required

Unique identifier of the created organization

name
string
required

Display name of the organization

created_at
string<date-time>
required

Timestamp when the organization was created

description
string | null

Description of the organization