createOrg
POST https://{{host}}/api/v1/orgs
Body Parameters
Parameter | Type | Description |
---|---|---|
name | string | org name |
session_expiry | int | how long the login session should last, in minutes, default is 1440 (24 hours), between 10 (min) and 20160 (2 weeks) |
alarmtemplate_id | string | Alarm Template ID, the default Alarm Template to use for the Org, can be override by Site |
orggroup_ids | list | list of OrgGroup ids |
allow_mist | boolean | whether to allow Mist to look at this org, default is True |
Request Body
{"name"=>"ABC Company", "session_expiry"=>1440, "alarmtemplate_id"=>"684dfc5c-fe77-2290-eb1d-ef3d677fe168", "orggroup_ids"=>["507f1bab-13ba-73e2-f291-2bcb8d1362b0"], "allow_mist"=>true}