Skip to content

Commit 96cf657

Browse files
DanipocketCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d224f0a commit 96cf657

2 files changed

Lines changed: 26 additions & 28 deletions

File tree

api-reference/v1.0/api/verifiablecredentialsauthenticationmethodconfiguration-delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
3434
}
3535
-->
3636
``` http
37-
DELETE /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/VerifiableCredentials/{id}
37+
DELETE /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/VerifiableCredentials
3838
```
3939

4040
## Request headers

api-reference/v1.0/api/verifiablecredentialsauthenticationmethodconfiguration-get.md

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -85,33 +85,31 @@ HTTP/1.1 200 OK
8585
Content-Type: application/json
8686
8787
{
88-
"value": {
89-
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodConfigurations/$entity",
90-
"@odata.type": "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration",
91-
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET policies/authenticationMethodsPolicy/authenticationMethodConfigurations('<key>')?$select=excludeTargets,state",
92-
"id": "VerifiableCredentials",
93-
"state": "enabled",
94-
"excludeTargets": [
95-
{
96-
"id": "10051f25-53a8-4f81-8a0b-9fc22887e640",
97-
"targetType": "group"
98-
},
99-
{
100-
"id": "e2c2244f-66cc-4d5b-9042-686f9fa42986",
101-
"targetType": "group"
102-
}
103-
],
104-
"includeTargets": [
105-
{
106-
"targetType": "group",
107-
"id": "3160256b-e74c-426e-9a65-b68a71c7f054",
108-
"isRegistrationRequired": false,
109-
"verifiedIdProfiles": [
110-
"9dda0ae1-e007-4a1d-81ec-2cf4b1274610"
111-
]
112-
}
113-
]
114-
}
88+
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodConfigurations/$entity",
89+
"@odata.type": "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration",
90+
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET policies/authenticationMethodsPolicy/authenticationMethodConfigurations('<key>')?$select=excludeTargets,state",
91+
"id": "VerifiableCredentials",
92+
"state": "enabled",
93+
"excludeTargets": [
94+
{
95+
"id": "10051f25-53a8-4f81-8a0b-9fc22887e640",
96+
"targetType": "group"
97+
},
98+
{
99+
"id": "e2c2244f-66cc-4d5b-9042-686f9fa42986",
100+
"targetType": "group"
101+
}
102+
],
103+
"includeTargets": [
104+
{
105+
"targetType": "group",
106+
"id": "3160256b-e74c-426e-9a65-b68a71c7f054",
107+
"isRegistrationRequired": false,
108+
"verifiedIdProfiles": [
109+
"9dda0ae1-e007-4a1d-81ec-2cf4b1274610"
110+
]
111+
}
112+
]
115113
}
116114
```
117115

0 commit comments

Comments
 (0)