Skip to content

Create managed organization

Request

Create a managed organization in context of a specific app. This should be called from the backend, using an admin access token (generated by a management app) or an organization admin access token.

Required permissions: organizations:create, orgs:create.

Security
AdminAccessToken
Path
organization_idstringrequired

The ID of the organization that creates the managed organization

app_idstringrequired

ID of application

Bodyapplication/jsonrequired
namestringrequired

Name of the organization

domainsArray of stringsrequired

Domains of the organization

enabledboolean

Indicates if the organization is currently enabled

alias_namestring

Alias name of the managed organization

domainstringrequireddeprecated

Domain of the organization

curl -i -X POST \
  'https://api.sbx.transmitsecurity.io/cis/v1/organizations/{organization_id}/applications/{app_id}/managed-organizations' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "domain": "string",
    "domains": [
      "string"
    ],
    "enabled": true,
    "alias_name": "string"
  }'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "organization_id": "string", "app_ids": [ … ], "name": "string", "domain": "string", "domains": [ … ], "created_at": 0, "updated_at": 0, "enabled": true, "managed_organizations_by_app": { … }, "managing_organization_id": "string", "logo_url": "string", "alias_name": "string" } }