Skip to content

Commit

Permalink
Remove default ReturnFaceId for Face Detection (#19894)
Browse files Browse the repository at this point in the history
* Remove default ReturnFaceId for Face Detection

Change default value for the ReturnFaceId parameter in /detect
operations from true to null. With the recent responsible AI changes,
only approved customers have access to this parameter so it should not
default to true.

* Updating description for changed parameter
  • Loading branch information
msyache authored Aug 25, 2022
1 parent f985007 commit 049415c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5633,9 +5633,8 @@
"name": "returnFaceId",
"in": "query",
"x-ms-parameter-location": "method",
"description": "A value indicating whether the operation should return faceIds of detected faces.",
"type": "boolean",
"default": true
"description": "A value indicating whether the operation should return faceIds of detected faces. Detecting with this value set to true requires additional permissions.",
"type": "boolean"
},
"returnFaceLandmarks": {
"name": "returnFaceLandmarks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4490,9 +4490,8 @@
"name": "returnFaceId",
"in": "query",
"x-ms-parameter-location": "method",
"description": "A value indicating whether the operation should return faceIds of detected faces.",
"type": "boolean",
"default": true
"description": "A value indicating whether the operation should return faceIds of detected faces. Detecting with this value set to true requires additional permissions.",
"type": "boolean"
},
"returnFaceLandmarks": {
"name": "returnFaceLandmarks",
Expand Down

0 comments on commit 049415c

Please sign in to comment.