Clone a configuration
/v1/secrets/configs/config/cloneCreates a branch of the root configuration of the same environment. Cloning a branch copies its
secret overrides. A personal configuration can't be cloned. Requires editor access
to the environment; the number of configurations in an environment is limited by the team limit.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Request body
Alias of the configuration to clone
production/localName of the new configuration; personal is reserved
local-copyProject alias
paymentsResponse
- Array [
- ]
Creation date
Names of secrets excluded from the missing list
environment object
Current user's access level to the environment
Possible values: [none, viewer, editor, admin]
editorCreation date
Identifier
10Date secrets were first read via the API
Name
ProductionDisplay order
1Personal configurations <environment>/personal are allowed
Alias
productionUpdate date
Identifier
500The configuration can't be renamed or deleted
The user's personal configuration
Root configuration of the environment
Date secrets were last read via the API
missing_secrets object[]
Secrets that exist in other root configurations of the project but are missing from this one; root configuration only
Name
DATABASE_URLNote
Connection string for the main databaseValue type
Possible values: [string, json, boolean, integer, decimal, email, url, yaml, xml, date, datetime]
urlVisibility
Possible values: [masked, unmasked, restricted]
maskedName; empty for a root configuration
localAlias for requests: <environment> for a root configuration, otherwise <environment>/<name>
production/localType: original — root configuration, duplicate — branch, personal — personal configuration
Possible values: [original, duplicate, personal]
duplicateUpdate date