corpus_id
). This endpoint is designed to modify key attributes such as the corpus name and description etc, and returns the updated details upon success.modified_by
and modified_on
fields.curl --location -g --request PUT 'https:///v2/api/corpus/0' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "user Editted corpus",
"description": "This is the edited description"
}'
{
"id": 1117,
"indexing_mode": {
"id": 1,
"mode": "exhaustive"
},
"created_by": "user@example.com",
"created_on": "2024-12-18T20:50:47.978077Z",
"modified_by": "user@example.com",
"modified_on": "2024-12-18T20:50:47.978096Z",
"name": "user Editted corpus",
"description": "This is the edited description",
"is_public": false,
"is_deleted": false,
"pii_redaction_enabled": false,
"corpus_type": "document",
"owner": 147,
"org": 1
}