cURL
curl --request PATCH \ --url https://us.infisical.com/api/v1/dynamic-secrets/{name} \ --header 'Content-Type: application/json' \ --data '{ "projectSlug": "<string>", "path": "/", "environmentSlug": "<string>", "data": { "inputs": "<any>", "defaultTTL": "<string>", "maxTTL": "<string>", "newName": "<string>" } }'
{ "dynamicSecret": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "version": 123, "type": "<string>", "defaultTTL": "<string>", "maxTTL": "<string>", "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "<string>", "statusDetails": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "projectGatewayId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
The name of the dynamic secret.
The slug of the project to update dynamic secret in.
1
The slug of the environment to update the dynamic secret in.
Show child attributes
The path to update the dynamic secret in.
Default Response
Was this page helpful?