RoleAssignments

Gets all role assignments for the subscription.

get/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments

Query parameters

$filterstring

The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.

Parameters

../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../common-types/resource-management/v2/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref

Response

OK - Returns an array of role assignments.

nextLinkstring

The URL to use for getting the next set of results.

Changes

Changed in 1 of the 7 revisions of this API.2

  • 2018-09-01-previewe30a31d275fb2See the full diff
    • deleted the path request parameter subscriptionId

      request-parameter-removed

    • deleted the query request parameter api-version

      request-parameter-removed