Skip to content

Commit cc2d15f

Browse files
Apply suggestions from code review
Co-authored-by: Faith Moraa Ombongi <ombongi.moraa.fe@gmail.com>
1 parent 7a12e68 commit cc2d15f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api-reference/beta/api/directory-deleteditems-restore.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following table lists the parameters that are required when you call this ac
7070
|Parameter|Type|Description|
7171
|:---|:---|:---|
7272
|autoReconcileProxyConflict|Boolean|Optional parameter. Indicates whether Microsoft Entra ID should remove any conflicting proxy addresses while restoring a soft-deleted user whose one or more proxy addresses are currently used for an active user. Used only for restoring soft-deleted [user](../resources/user.md). The default value for this paramater is `false`.|
73-
|newUserPrincipalName|String|The userPrincipalName to be used for the user post restore user operation. Used only for restoring soft-deleted [user](../resources/user.md). This is an optional parameter|
73+
|newUserPrincipalName|String|The new **userPrincipalName** to add to the restored [user](../resources/user.md). Optional.|
7474

7575
## Response
7676

@@ -248,6 +248,7 @@ Content-type: application/json
248248
```http
249249
POST https://graph.microsoft.com/beta/directory/deleteditems/78bf875b-9343-4edc-9130-0d3958113563/restore
250250
Content-Type: application/json
251+
251252
{
252253
"newUserPrincipalName": "johndoe@contoso.com"
253254
}
@@ -263,6 +264,7 @@ Content-Type: application/json
263264
```http
264265
HTTP/1.1 200 OK
265266
Content-type: application/json
267+
266268
{
267269
"@odata.context": "https://graph.microsoft.com/beta/$metadata#users/$entity",
268270
"id": "78bf875b-9343-4edc-9130-0d3958113563",

0 commit comments

Comments
 (0)