Skip to content

Commit 7d6fe61

Browse files
authored
Merge pull request #9769 from sbreingold-ms/wi-539396-part-2-fix-remove-reviewed-secure-score
wi-539396-part-2-fix-remove-reviewed-secure-score
2 parents e6d4002 + 37aea59 commit 7d6fe61

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

api-reference/v1.0/api/securescorecontrolprofile-update.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 03/06/2024
1212

1313
Namespace: microsoft.graph
1414

15-
Update an editable **secureScoreControlProfile** object within any integrated solution to change various properties, such as **assignedTo** or **tenantNote**.
15+
Update an editable **secureScoreControlProfile** object within any integrated solution to change various properties, such as **tenantNote**.
1616

1717
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
1818

@@ -51,7 +51,7 @@ In the request body, supply a JSON representation of the values for relevant fie
5151

5252
If successful, this method returns a `204 No Content` response code.
5353

54-
If the optional request header is used, the method returns a `200 OK` response code and the updated [secureScoreControlProfiles](../resources/securescorecontrolprofile.md) object in the response body.
54+
If the optional `Prefer: return=representation` request header is used, the method returns a `200 OK` response code and the updated [secureScoreControlProfiles](../resources/securescorecontrolprofile.md) object in the response body.
5555

5656
## Example
5757

@@ -141,6 +141,7 @@ The following example shows a request that includes the `Prefer` request header.
141141
```http
142142
PATCH https://graph.microsoft.com/v1.0/security/secureScoreControlProfiles/NonOwnerAccess
143143
Content-type: application/json
144+
Prefer: return=representation
144145
145146
{
146147
"vendorInformation": {
@@ -223,9 +224,6 @@ Content-type: application/json
223224
"complianceInformation": null,
224225
"controlStateUpdates": [
225226
{
226-
"assignedTo": "",
227-
"comment": "control is under 'Third Party' exception",
228-
"state": "Third Party",
229227
"updatedBy": "user1@contoso.com",
230228
"updatedDateTime": "2019-03-19T22:37:14.628799Z"
231229
}

0 commit comments

Comments
 (0)