latestOpenAPI 3.1.02026-08-221163801019.2 KB
f0f28319e448
Organization
Create an organization
Set up a new organization in the Amigo system. Specifically, it
- creates a new organization within the Amigo Mongo database with the given details.
- Along with the new organization, 4 default roles are created:
- DefaultUserRole.
- DefaultAdministratorRole.
- DefaultAmigoAdministratorRole.
- DefaultSuperAdministratorRole.
- A super user, admin@amigo.ai, is created and granted the DefaultSuperAdministratorRole.
- Along with the new organization, 4 default roles are created:
- creates a new tenant in Google Identity Platform for users in this organization.
- creates a new Route53 record, {org_id}.amigo.ai, that hosts the Amigo frontend for this organization.
- creates a new domain, {org_id}.amigo.ai, on Vercel.
The x-mongo-cluster-name header is mandatory for this endpoint.
Permissions
This endpoint requires the following permissions:
- Organization:CreateOrganization. for the organization to create.
put/v1/{organization}/organization/
Path parameters
organizationstring required
Headers
x-mongo-cluster-namestring required
The Mongo cluster name to perform this request in.
The Mongo cluster name to perform this request in.
Sec-WebSocket-Protocolstring[]
Request body
Response
Succeeded.