POST instead.edit_corpus on the corpus; where permission sets don't govern corpora, managePermission already set to the requested value).curl --location --globoff --request PUT 'https:///api/v2/corpora//permissions' \
--header 'X-Authorization-Consistency-Token;' \
--header 'Organization-Id;' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"subject_type": "user",
"subject_id": "15",
"relation": "admin"
}'{
"success": true,
"message": "Permission updated successfully",
"data": {
"corpus_id": 31,
"subject_type": "user",
"subject_id": "15",
"subject_name": "Dana Lee",
"old_relation": "member",
"new_relation": "admin",
"updated_at": "2026-10-28T14:07:40.019311+00:00"
}
}