Skip to content

Commit

Permalink
Update graph/patterns/alternate-key.md
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Richards <[email protected]>
  • Loading branch information
XVincentX and PetRich-MSFT authored May 5, 2022
1 parent 9cac927 commit 5553331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/patterns/alternate-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ GET https://graph.microsoft.com/v1.0/users/?$filter=ssn eq '123-45-6789'
```http
GET https://graph.microsoft.com/v1.0/users/1a89ade6-9f59-4fea-a139-23f84e3aef66
GET https://graph.microsoft.com/v1.0/users(ssn='123-45-6789')
GET https://graph.microsoft.com/v1.0/users(email='[email protected]')
GET https://graph.microsoft.com/v1.0/users(mail='[email protected]')
```

**NOTE:** When requesting a resource through its primary key you might want to prefer to use key-as-segment (as shown above). Also, the key-as-segment does not work for alternate keys.
Expand Down

0 comments on commit 5553331

Please sign in to comment.