v1
latestOpenAPI 3.0.02026-07-246171,3332.1 MBv2
post/target-update-openai
Request body
api-keystring
API key for OpenAI
api-key-idstring
API key ID
delete_protectionstring
Protection from accidental deletion of this object [true/false]
descriptionstring
Description of the object
jsonboolean
Set output format to JSON
keep-prev-versionstring
Whether to keep previous version [true/false]. If not set, use default according to account settings
keystring
The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max-versionsstring
Set the maximum number of versions, limited by the account settings defaults.
modelstring
Default model to use with OpenAI
namestring required
Target name
new-commentstring
Deprecated - use description
new-namestring
New target name
openai-urlstring
Base URL of the OpenAI API
organization-idstring
Organization ID
tokenstring
Authentication token (see /auth and /configure)
uid-tokenstring
The universal identity token, Required only for universal_identity authentication
Response
targetUpdateOpenAIResponse wraps response body.
target_idinteger