POST /system/accounts/{account_tag}/stores/{store_id}/secrets/{secret_id}/duplicate

Duplicates a secret in a store managed by the calling service, keeping the value. Returns 404 if the store doesn't exist or is not managed by the authenticated service.

Servers

Path parameters

Name Type Required Description
secret_id String Yes
store_id String Yes
account_tag String Yes

Account tag identifier (e.g., '12a6ed19f349896cfbd6694ba3de8d31'). This is the account's external tag identifier, not the numeric account ID.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
scopes[] Array Yes

The list of services that can use this secret.

comment String No

Freeform text describing the secret

name String Yes

The name of the secret

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.