Copy Page/target-update-openaipost https://api.akeyless.io/target-update-openaiRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamstargetUpdateOpenAI is a command that updates an existing openai targetapi-keystringAPI key for OpenAIapi-key-idstringAPI key IDcodex-oauth-access-tokenstringCodex OAuth access token (auth.json tokens.access_token), used when codex-oauth-mode=chatgpt_oauthcodex-oauth-account-idstringCodex OAuth account id (auth.json tokens.account_id), used when codex-oauth-mode=chatgpt_oauthcodex-oauth-modestringAuth mode: empty (default, static api-key) or chatgpt_oauthcodex-oauth-refresh-tokenstringCodex OAuth refresh token (auth.json tokens.refresh_token), used when codex-oauth-mode=chatgpt_oauthdelete_protectionstringProtection from accidental deletion of this object [true/false]descriptionstringDefaults to default_commentDescription of the objectjsonbooleanDefaults to falseSet output format to JSONtruefalsekeep-prev-versionstringWhether to keep previous version [true/false]. If not set, use default according to account settingskeystringThe name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)lock-on-readstringLock this secret after each successful value readlock-ttlstringLock TTL in minutesmax-versionsstringSet the maximum number of versions, limited by the account settings defaults.modelstringDefault model to use with OpenAInamestringrequiredTarget namenew-commentstringDefaults to default_commentDeprecated - use descriptionnew-namestringNew target nameopenai-urlstringDefaults to https://api.openai.com/v1Base URL of the OpenAI APIorganization-idstringOrganization IDrotate-on-unlockstringRotate this secret after it is unlockedtokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationResponses 201targetUpdateOpenAIResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 13 days ago /target-update-web/target-update-windowsDid this page help you?YesNo