Skip to main content
POST
/
api
/
v2
/
companies
/
create
/
Create a company
curl --request POST \
  --url https://paradigm.lighton.ai/api/v2/companies/create/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "max_users": 123,
  "dpo_email": "jsmith@example.com",
  "allow_company_admins_to_manage_sso": true,
  "storage_limit_company_ws": 123,
  "storage_limit_personal_ws": 123,
  "storage_limit_custom_ws": 123,
  "active_members_count": 123
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

name
string
required
dpo_email
string<email>
max_users
integer
allow_company_admins_to_manage_sso
boolean
default:false
storage_limit_company_ws
number | null
storage_limit_personal_ws
number | null
storage_limit_custom_ws
number | null

Response

Successful response

name
string
required
created_at
string<date-time>
required
max_users
integer
required
dpo_email
string<email>
required
allow_company_admins_to_manage_sso
boolean
required
storage_limit_company_ws
number
required
storage_limit_personal_ws
number
required
storage_limit_custom_ws
number
required
active_members_count
integer
required
I