createMspSsoRole
POST https://{{host}}/api/v1/msps/:msp_id/ssoroles
Body Parameters
Name | Type | Description |
---|
name | string | name that would match the Role from SSO Login. unique per Org, maximum length is 32 |
privileges | list | list of privileges the admin has on the MSP / Orgs / OrgGroups |
scope | string | msp / 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"}]}
Key | Datatype | Required | Description |
---|
Accept | string | | |
X-CSRFToken | string | | |
Content-Type | string | | |