curl --location -g --request POST 'https:///api/v2/corpora/' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"indexing_mode_id": 0,
"corpus_type": "string",
"tags": [
"string"
],
"chunking_enabled": true
}'
{
"success": true,
"message": "string",
"data": {
"id": 0,
"indexing_mode": {
"id": 0,
"mode": "exhaustive"
},
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"modified_by": "string",
"modified_on": "2019-08-24T14:15:22Z",
"name": "string",
"description": "string",
"is_public": true,
"is_deleted": true,
"pii_redaction_enabled": true,
"corpus_type": "string",
"chunking_enabled": true,
"refresh_enabled": true,
"last_refreshed": "2019-08-24T14:15:22Z",
"owner": 0,
"org": 0
}
}