42 lines
809 B
Plaintext
42 lines
809 B
Plaintext
meta {
|
|
name: Updates an existing Completion Config object.
|
|
A user can only update a Completion Config object owned by him,
|
|
unless it has administrative rights.
|
|
type: http
|
|
seq: 3
|
|
}
|
|
|
|
patch {
|
|
url: {{baseUrl}}/api/v2/CompletionConfig/:strToken/:strConfigID
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
params:path {
|
|
strToken:
|
|
strConfigID:
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"completionConfigID": "",
|
|
"configName": "",
|
|
"description": "",
|
|
"provider": "",
|
|
"endPoint": "",
|
|
"apiKey": "",
|
|
"model": "",
|
|
"questionAnsweringEnabled": "",
|
|
"importExportEnabled": "",
|
|
"deepThoughtEnabled": "",
|
|
"ownerUserID": "",
|
|
"ownerUserName": "",
|
|
"ownerTenantName": "",
|
|
"visibleToTenantUsers": "",
|
|
"visibleToOtherUsers": "",
|
|
"useAsDefault": "",
|
|
"chargeable": "",
|
|
"applyTo": ""
|
|
}
|
|
}
|