ControlService

CloneSecret clones a secret from an existing secret.

Fetches the source secret, applies removals, merges provided values, and stores as a new secret. Returns AlreadyExists if target ID exists.

post/v1.1/secret/clone

Request

  • Base URL
    https://www.metarouter.io/contact
  • URL
    https://www.metarouter.io/contact/v1.1/secret/clone
  • Auth
    HTTP bearer

Request body

cloneFromstring

id from the secret to clone

removeValuesstring[] nullable

keys to remove from the new secret values object

Response

OK

idstring

Changes

No recorded changes to this operation across all 2 revisions of this API.