createMspSsoRole

POST https://{{host}}/api/v1/msps/:msp_id/ssoroles

Body Parameters

NameTypeDescription
namestringname that would match the Role from SSO Login. unique per Org, maximum length is 32
privilegeslistlist of privileges the admin has on the MSP / Orgs / OrgGroups
scopestringmsp / org / orggroup

Request Body

{"name"=>"NOC", "privileges"=>[{"scope"=>"org", "role"=>"admin"}, {"scope"=>"site", "site_id"=>"d96e3952-53e8-4266-959a-45acd55f5114", "role"=>"admin"}, {"scope"=>"sitegroup", "sitegroup_id"=>"581328b6-e382-f54e-c9dc-999983183a34", "role"=>"admin"}]}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
X-CSRFTokenstring
Content-Typestring