List Management Term - Delete All Terms
Deletes all terms from the list with listId equal to the passed list ID.
DELETE {Endpoint}/contentmoderator/lists/v1.0/termlists/{listId}/terms?language={language}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Supported Azure Cognitive Services endpoints (protocol and host name, such as https://westus.api.cognitive.microsoft.com). |
list
|
path | True |
string |
List ID of the image list. |
language
|
query | True |
string |
Language of the terms. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
string |
No content. |
Other Status Codes |
Error response. |
Security
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Examples
Delete AllTerms request
Sample request
DELETE {Endpoint}/contentmoderator/lists/v1.0/termlists/89003/terms?language=eng
Sample response
""
Definitions
Name | Description |
---|---|
APIError |
Error information that the API returns. |
Error |
Error body. |
APIError
Error information that the API returns.
Name | Type | Description |
---|---|---|
Error |
Error body. |
Error
Error body.
Name | Type | Description |
---|---|---|
Code |
string |
|
Message |
string |