{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update a secret, send a PUT request to `/v2/security/secrets/{secret}`.\n\n`version` is the secret's current version. If it does not match, the request\nreturns a `409` response and the secret is not changed.","properties":{"path":{"type":"object","properties":{"secret":{"type":"string","examples":["my-database-password"],"description":"The name of the secret."}},"required":["secret"],"additionalProperties":false},"body":{"type":"object","required":["region","version","values"],"properties":{"region":{"type":"string","description":"The region where the secret is stored.","examples":["nyc3"]},"version":{"type":"integer","description":"The current version of the secret to update.","examples":[1]},"values":{"type":"object","additionalProperties":{"type":"string"},"description":"Updated key-value pairs for the secret.","examples":[{"password":"n3w-s3cr3t"}]}}}},"required":["path","body"],"additionalProperties":false},"name":"Update Secret","id":"digitalocean.security_update_secret","example":{"path":{"secret":"my-database-password"},"body":{"region":"nyc3","version":1,"values":{"password":"n3w-s3cr3t"}}},"maxRequests":1,"summary":false}}