Skip to content

Commit db8350e

Browse files
authored
Merge pull request #122077 from jinruishao/patch-25
Update use-blocklist.md
2 parents 2ab6cc4 + 77c78ed commit db8350e

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

articles/ai-services/content-safety/how-to/use-blocklist.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,18 @@ curl --location --request POST '<endpoint>/contentsafety/text/blocklists/<your_l
258258
> You can add multiple blocklistItems in one API call. Make the request body a JSON array of data groups:
259259
>
260260
> ```json
261-
> [{
262-
> "description": "string",
263-
> "text": "bleed"
264-
> },
265261
> {
266-
> "description": "string",
267-
> "text": "blood"
268-
> }]
262+
> "blocklistItems": [
263+
> {
264+
> "description": "string",
265+
> "text": "bleed"
266+
> },
267+
> {
268+
> "description": "string",
269+
> "text": "blood"
270+
> }
271+
> ]
272+
>}
269273
> ```
270274
271275

0 commit comments

Comments
 (0)