POST Authorization/AllowedOperations

Get allowed scoped authorization operations for the currently logged-in administrator.

Note that this API uses a POST verb because it takes an unbounded array as input, and may otherwise exceed the maximum input size for a GET operation.

Request Information

Request body type

ScopedAuthorizationOperationsModel

Request body formats

application/json, text/json

Sample:
{
  "ScopeId": "5e531466-5c6d-41c8-97e1-d814d261f322",
  "Operations": [
    "TenantGet"
  ]
}

Response Information

A list of the operations which the currently logged-in administrator is allowed to perform. This will always be a subset of the scoped operations that were passed into the API.

Response type

CollectionResultModel<String>

Response body formats

application/json, text/json

Sample:
{
  "Href": "[api:Authorization/AllowedOperations]",
  "Count": 3,
  "TotalMatchingFilter": 3,
  "Items": [
    "GetTenants",
    "GetTenant",
    "ImportTenant"
  ]
}