createOrg

POST https://{{host}}/api/v1/orgs

Body Parameters

ParameterTypeDescription
namestringorg name
session_expiryinthow long the login session should last, in minutes, default is 1440 (24 hours), between 10 (min) and 20160 (2 weeks)
alarmtemplate_idstringAlarm Template ID, the default Alarm Template to use for the Org, can be override by Site
orggroup_idslistlist of OrgGroup ids
allow_mistbooleanwhether 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}