updateMspSsoRole

PUT https://{{host}}/api/v1/msps/:msp_id/ssoroles/:ssorole_id

Body Parameters

ParameterTypeDescription
namestringname that would match the Role from SSO Login. unique per Org, maximum length is 32
privilegeslistsee Authentication>Privileges

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