Skip to content

Commit 9bc145b

Browse files
authored
Update grantedTo structure in permissions overview (#9772)
Payload for POST request was incorrect; updated to reflect the correct payload, including grantedToIdentities/application with id AND displayName
1 parent 6f34621 commit 9bc145b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

concepts/permissions-selected-overview.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@ Content-Type: application/json
7979
8080
{
8181
"roles": ["write"],
82-
"grantedTo": {
82+
"grantedToIdentities": [{
8383
"application": {
84-
"id": "89ea5c94-7736-4e25-95ad-3fa95f62b66e"
84+
"id": "89ea5c94-7736-4e25-95ad-3fa95f62b66e",
85+
"displayName": "Contoso Time Manager App"
8586
}
86-
}
87+
}]
8788
}
8889
```
8990

0 commit comments

Comments
 (0)