SAM sample permissions

The following is sample SAM permissions. For details about SAM, please refer to Getting Started Guide.

Note: The following permissions are provided just as a sample. Please review all the parameters and test yourself before you use them in your account. 


Sample1: Allows Read access to list of SIMs and billing information

{ 
 "statements":[
       {
           "effect":"allow",
           "api":["Subscriber:list*","Billing:*","Payment:get*","Payment:list*","Stats:*","Files:*"]
       }
   ]
}

Sample2:Allows Read access to list of SIMs and all access to monitoring settings

{
  "statements": [{
    "effect":"allow",
    "api":["EventHandler:*","Subscriber:listSubscribers"]
  }]
}

Sample3:Allows Read access to data that is stored in Harvest

{
    "statements": [
        {
            "effect": "allow",
            "api": [
                "Subscriber:getDataFromSubscriber",
                "LoraDevice:getDataFromLoraDevice"
            ]
        }
    ]
}

Sample4: Denies Read/Write access to support tickets, Allows all access to other APIs 

{
   "statements":[
       {
           "effect":"allow",
           "api":"*"
       },
      {
           "effect":"deny",
           "api":["Operator:generateSupportToken"]
       }
   ]
}
Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk