Skip to content

Commit bbcfccd

Browse files
authored
Merge branch 'main' into LCWTOCUpdate
2 parents 1e75756 + 050755e commit bbcfccd

8 files changed

+284
-92
lines changed

api-reference/beta/api/educationassignment-post-categories.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,44 +36,38 @@ POST /education/classes/{id}/assignments/{id}/categories/$ref
3636
| Content-Type | application/json |
3737

3838
## Request body
39-
In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object(s) to add to this assignment.
40-
39+
In the request body, supply the **odata.id** of an existing [educationCategory](../resources/educationcategory.md) object to add to this assignment.
4140

4241
## Response
4342
If successful, this method returns a `204 No Content` response code.
4443

4544
## Example
46-
##### Request
45+
### Request
4746
The following example shows a request.
4847
<!-- {
49-
"blockType": "ignored",
50-
"name": "add_educationcategory_to_educationassignment",
51-
"sampleKeys": ["11021", "19002"]
48+
"blockType": "request",
49+
"name": "add_educationcategory_to_educationassignment"
5250
}-->
5351
```http
54-
POST https://graph.microsoft.com/beta/education/classes/11021/assignments/19002/categories/$ref
52+
POST https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/70b7077c-7c1c-4e56-9b3b-2365411900c6/categories/$ref
5553
Content-type: application/json
5654
5755
{
58-
"@odata.id": "https://graph.microsoft.com/v1.0/education/classes/11021/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac"
56+
"@odata.id": "https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignmentCategories/39e3d9dc-7244-42d7-8b4d-1071aae5eb41"
5957
}
60-
6158
```
62-
In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object to add to this assignment.
63-
##### Response
64-
The following example shows the response.
65-
66-
>**Note:** The response object shown here might be shortened for readability.
6759

60+
### Response
61+
The following example shows the response.
6862

6963
<!-- {
70-
"blockType": "ignored",
71-
"truncated": true,
72-
"@odata.type": "microsoft.graph.educationAssignmentResource"
64+
"blockType": "response",
65+
"truncated": true
7366
} -->
7467
```http
7568
HTTP/1.1 204 No Content
7669
```
70+
7771
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
7872
2015-10-25 14:57:30 UTC -->
7973
<!--
@@ -86,5 +80,3 @@ HTTP/1.1 204 No Content
8680
"suppressions": []
8781
}
8882
-->
89-
90-

api-reference/beta/api/educationassignment-remove-category.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,19 @@ If successful, this method returns a `204 No Content` response code.
4444
### Request
4545
The following example shows a request.
4646
<!-- {
47-
"blockType": "ignored",
48-
"name": "add_educationcategory_to_educationassignment",
49-
"sampleKeys": ["11021", "19002", "ec98f158-341d-4fea-9f8c-14a250d489ac"]
47+
"blockType": "request",
48+
"name": "remove_educationcategory_from_educationassignment"
5049
}-->
5150
```http
52-
DELETE https://graph.microsoft.com/beta/education/classes/11021/assignments/19002/categories/ec98f158-341d-4fea-9f8c-14a250d489ac/$ref
51+
DELETE https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/e98aaae1-7c98-4e65-bb62-1994fe410552/categories/39e3d9dc-7244-42d7-8b4d-1071aae5eb41/$ref
5352
```
5453

5554
### Response
5655
The following example shows the response.
5756

5857
<!-- {
59-
"blockType": "ignored",
60-
"truncated": true,
61-
"@odata.type": "microsoft.graph.educationAssignmentResource"
58+
"blockType": "response",
59+
"truncated": true
6260
} -->
6361
```http
6462
HTTP/1.1 204 No Content

api-reference/beta/api/educationcategory-delete.md

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -52,52 +52,15 @@ If successful, this method returns a `204 No Content` response code. It doesn't
5252

5353
The following example shows a request.
5454

55-
56-
# [HTTP](#tab/http)
5755
<!-- {
5856
"blockType": "request",
59-
"name": "delete_educationassignment_2",
60-
"sampleKeys": ["11014", "19002"]
57+
"name": "delete_educationassignment_2"
6158
}-->
6259

6360
```http
64-
DELETE https://graph.microsoft.com/beta/education/classes/11014/assignmentCategories/19002
61+
DELETE https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignmentCategories/39e3d9dc-7244-42d7-8b4d-1071aae5eb41
6562
```
6663

67-
# [C#](#tab/csharp)
68-
[!INCLUDE [sample-code](../includes/snippets/csharp/delete-educationassignment-2-csharp-snippets.md)]
69-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
70-
71-
# [CLI](#tab/cli)
72-
[!INCLUDE [sample-code](../includes/snippets/cli/delete-educationassignment-2-cli-snippets.md)]
73-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74-
75-
# [Go](#tab/go)
76-
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignment-2-go-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Java](#tab/java)
80-
[!INCLUDE [sample-code](../includes/snippets/java/delete-educationassignment-2-java-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [JavaScript](#tab/javascript)
84-
[!INCLUDE [sample-code](../includes/snippets/javascript/delete-educationassignment-2-javascript-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [PHP](#tab/php)
88-
[!INCLUDE [sample-code](../includes/snippets/php/delete-educationassignment-2-php-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PowerShell](#tab/powershell)
92-
[!INCLUDE [sample-code](../includes/snippets/powershell/delete-educationassignment-2-powershell-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [Python](#tab/python)
96-
[!INCLUDE [sample-code](../includes/snippets/python/delete-educationassignment-2-python-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
99-
---
100-
10164
### Response
10265

10366
The following example shows the response.

api-reference/beta/resources/groups-overview.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ Content-type: application/json
8787
}
8888
```
8989

90-
To learn more about Microsoft 365 groups and the administrator experiences, see [Learn about Microsoft 365 groups](https://support.office.com/article/Learn-about-Office-365-groups-b565caa1-5c40-40ef-9915-60fdb2d97fa2).
91-
9290
## Security groups and mail-enabled security groups
9391

9492
**Security groups** are for controlling user access to resources. By checking whether a user is a member of a security group, your app can make authorization decisions when that user is trying to access some secure resources in your app. Security groups can have users, other security groups, devices, and service principals as members.

api-reference/v1.0/api/educationassignment-post-categories.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ POST /education/classes/{id}/assignments/{id}/categories/$ref
3333
| Content-Type | application/json |
3434

3535
## Request body
36-
In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object(s) to add to this assignment.
37-
36+
In the request body, supply the **odata.id** of an existing [educationCategory](../resources/educationcategory.md) object to add to this assignment.
3837

3938
## Response
4039
If successful, this method returns a `204 No Content` response code.
@@ -57,7 +56,6 @@ Content-type: application/json
5756
{
5857
"@odata.id": "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac"
5958
}
60-
6159
```
6260

6361
# [C#](#tab/csharp)
@@ -94,21 +92,15 @@ Content-type: application/json
9492

9593
---
9694

97-
In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object to add to this assignment.
98-
9995
### Response
10096
The following example shows the response.
10197

10298
<!-- {
10399
"blockType": "response",
104-
"truncated": true,
105-
"@odata.type": "microsoft.graph.educationAssignmentResource"
100+
"truncated": true
106101
} -->
107102
```http
108103
HTTP/1.1 204 No Content
109-
110-
{
111-
}
112104
```
113105
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
114106
2015-10-25 14:57:30 UTC -->

api-reference/v1.0/api/educationassignment-remove-category.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following example shows a request.
4646
<!-- {
4747
"blockType": "request",
4848
"sampleKeys": ["ec98f158-341d-4fea-9f8c-14a250d489ac"],
49-
"name": "add_educationcategory_to_educationassignment_classID_assignID"
49+
"name": "remove_educationcategory_from_educationassignment"
5050
}-->
5151
```http
5252
DELETE https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/categories/ec98f158-341d-4fea-9f8c-14a250d489ac/$ref
@@ -91,14 +91,10 @@ The following example shows the response.
9191

9292
<!-- {
9393
"blockType": "response",
94-
"truncated": true,
95-
"@odata.type": "microsoft.graph.educationAssignmentResource"
94+
"truncated": true
9695
} -->
9796
```http
9897
HTTP/1.1 204 No Content
99-
100-
{
101-
}
10298
```
10399
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
104100
2015-10-25 14:57:30 UTC -->

0 commit comments

Comments
 (0)