Skip to content

Commit 5553331

Browse files
Update graph/patterns/alternate-key.md
Co-authored-by: Peter Richards <[email protected]>
1 parent 9cac927 commit 5553331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/patterns/alternate-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ GET https://graph.microsoft.com/v1.0/users/?$filter=ssn eq '123-45-6789'
102102
```http
103103
GET https://graph.microsoft.com/v1.0/users/1a89ade6-9f59-4fea-a139-23f84e3aef66
104104
GET https://graph.microsoft.com/v1.0/users(ssn='123-45-6789')
105-
GET https://graph.microsoft.com/v1.0/users(email='[email protected]')
105+
GET https://graph.microsoft.com/v1.0/users(mail='[email protected]')
106106
```
107107

108108
**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.

0 commit comments

Comments
 (0)