Skip to content

delete license_key and token properties#143

Open
alexvdvalk wants to merge 2 commits into
mainfrom
remove-license-key-from-settings
Open

delete license_key and token properties#143
alexvdvalk wants to merge 2 commits into
mainfrom
remove-license-key-from-settings

Conversation

@alexvdvalk

Copy link
Copy Markdown
Collaborator

When merging settings, the CLI tries to read and update the license_key and license_token. This is prohibited so we need to manually delete these attributes when updating the project settings.

https://github.com/directus/directus/blob/main/api/src/services/settings.ts#L24

The DirectusSettings type outdated. Should this be included in the PR to match V12 Settings type?

@alexvdvalk

Copy link
Copy Markdown
Collaborator Author
Screenshot 2026-06-04 at 14 19 39

@alexvdvalk

Copy link
Copy Markdown
Collaborator Author

We probably need to extend this to any field in the settings which stores and API KEY:

{
"ai_openai_compatible_api_key": null,
"ai_google_api_key": "**********",
"ai_anthropic_api_key": "**********",
"ai_openai_api_key": "**********"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant