PUT
/v2/projects/{projectId}/import-settingsSet project import settings
Stores import settings for the authenticated user and a project. Supply createNewKeys and overrideKeyDescriptions to control whether imports create keys and replace key descriptions. The response returns the stored settings.
projectIdintegerrequired
The integer identifier of the project whose import settings you want to store.
Import settings for the authenticated user and project. Both fields are required.
createNewKeysbooleanrequired
If false, only updates keys, skipping the creation of new keys
overrideKeyDescriptionsbooleanrequired
If true, key descriptions will be overridden by the import
200Returns the stored import settings, including the `createNewKeys` and `overrideKeyDescriptions` boolean values.
createNewKeysbooleanrequired
If false, only updates keys, skipping the creation of new keys
overrideKeyDescriptionsbooleanrequired
If true, key descriptions will be overridden by the import
400Returned when a required field is missing or a field value is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user lacks permission to change the project settings.
codestringrequired
paramsarray<object>optional
404Returned when the project cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 is returned when the authenticated user lacks permission to change the project settings, and a 404 is returned when the project cannot be found. The createNewKeys and overrideKeyDescriptions body fields are required and must be boolean values. The projectId path parameter must identify the project.