| Description | : Gets role assignments for a scope. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "RoleAssignments_ListForScope",
"$parameters": [
{
"#name": "api-version",
"Description": {
"new": "The API version to use for this operation.",
"old": "Client API version."
}
}
],
"$responses": {
"default": {
"$properties": {
"error": [
{
"#name": "innererror",
"Type": {
"new": "string",
"old": "object"
}
}
]
}
}
}
}
⚼ Request
GET:
/{scope}/providers/Microsoft.Authorization/roleAssignments
{
api-version:
string
,
scope:
string
,
$filter:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
id:
string
,
name:
string
,
type:
string
,
properties:
}
{
,
scope:
enum
,
roleDefinitionId:
string
,
principalId:
string
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
innererror:
string
,
}