Change 'regenerate-token' to 'invalidate-token'.