Create new organization
POST {{baseUrl}}/api/v2/organizations
Creates new organization with optional list of locations and policy mappings. Template organization ID can be specified to copy various settings
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
templateOrganizationId | null |
Request Body
{"name"=>"string", "description"=>"string", "nodeApprovalMode"=>"AUTOMATIC", "locations"=>[{"name"=>"string", "address"=>"string", "description"=>"string"}], "policies"=>[{"nodeRoleId"=>0, "policyId"=>0}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |