Organizations
Create an organization
Changed onCreates a new organization in your environment. Use this endpoint to add a new tenant that can be configured with various settings and metadata
post/api/v1/organizations
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"display_name": "Megasoft Inc",
"external_id": "my_unique_id",
"logo_url": "https://cdn.example.com/acme-logo.png",
"slug": "acme"
}Response
Returns the newly created organization with its unique identifier and settings
Example response
{
"organization": {
"create_time": "2025-02-15T06:23:44.560000Z",
"display_name": "Megasoft",
"external_id": "my_unique_id",
"id": "org_59615193906282635",
"logo_url": "https://cdn.example.com/acme-logo.png",
"settings": {
"features": [
{
"enabled": true,
"name": "sso"
},
{
"enabled": false,
"name": "dir_sync"
}
]
},
"slug": "acme",
"update_time": "2025-02-15T06:23:44.560000Z"
}
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info