aws ssm get-parameters-by-path --path '/path/to/prams' --recursive \ | jq .Parameters[].Name \ | xargs -L1 -I'{}' aws ssm delete-parameter --name {}