corpus_id
as a path parameter to identify the target corpus.add_tags
: An array of new tags to apply to the corpus.remove_tags
: An array of tags to remove from the corpus.curl --location -g --request POST 'https:///v2/api/corpus/0/annotate' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"add_tags": [
"tag 2"
],
"remove_tags": [
"tag 1"
]
}'
{
"status": "success",
"message": "Corpus is empty. No tasks queued.",
"task_ids": []
}